webengine/osswebengine/WebCore/html/HTMLLinkElement.cpp
changeset 27 6297cdf66332
parent 0 dd21522fd290
child 48 79859ed3eea9
--- a/webengine/osswebengine/WebCore/html/HTMLLinkElement.cpp	Thu Jan 07 13:31:38 2010 +0200
+++ b/webengine/osswebengine/WebCore/html/HTMLLinkElement.cpp	Mon Jan 18 21:20:18 2010 +0200
@@ -192,8 +192,13 @@
 
     // IE extension: location of small icon for locationbar / bookmarks
     // We'll record this URL per document, even if we later only use it in top level frames
-    if (m_isIcon && !m_url.isEmpty())
+    if (m_isIcon && !m_url.isEmpty()) {
         document()->setIconURL(m_url, type);
+        if(document()->frame() && document()->frame()->loader()) {
+            // Notify frame loader to retry icon loading
+            document()->frame()->loader()->iconLoadDecisionAvailable();
+        }
+    }
 
     // Stylesheet
     // This was buggy and would incorrectly match <link rel="alternate">, which has a different specified meaning. -dwh