Title: [91581] branches/safari-534.51-branch/Source/WebCore
Revision
91581
Author
[email protected]
Date
2011-07-22 11:32:15 -0700 (Fri, 22 Jul 2011)

Log Message

Merge r90486.

Modified Paths

Diff

Modified: branches/safari-534.51-branch/Source/WebCore/ChangeLog (91580 => 91581)


--- branches/safari-534.51-branch/Source/WebCore/ChangeLog	2011-07-22 18:30:13 UTC (rev 91580)
+++ branches/safari-534.51-branch/Source/WebCore/ChangeLog	2011-07-22 18:32:15 UTC (rev 91581)
@@ -1,5 +1,24 @@
 2011-07-21  Lucas Forschler  <[email protected]>
 
+    Merged 90486.
+
+    2011-07-06  John Sullivan  <[email protected]>
+
+        IconDatabase::synchronousIconForPageURL() has inconsistent API when no custom icon is available
+        <https://bugs.webkit.org/show_bug.cgi?id=64015>
+        <rdar://problem/9706277>
+
+        For some URLs it would return a particular size of default icon; for other
+        URLs it would return 0.
+
+        Reviewed by Ada Chan.
+
+        * loader/icon/IconDatabase.cpp:
+        (WebCore::IconDatabase::synchronousIconForPageURL):
+        Return 0 in all cases where there is no custom icon.
+
+2011-07-21  Lucas Forschler  <[email protected]>
+
     Merged 90166.
 
     2011-06-30  Julien Chaffraix  <[email protected]>

Modified: branches/safari-534.51-branch/Source/WebCore/loader/icon/IconDatabase.cpp (91580 => 91581)


--- branches/safari-534.51-branch/Source/WebCore/loader/icon/IconDatabase.cpp	2011-07-22 18:30:13 UTC (rev 91580)
+++ branches/safari-534.51-branch/Source/WebCore/loader/icon/IconDatabase.cpp	2011-07-22 18:32:15 UTC (rev 91581)
@@ -224,7 +224,7 @@
     // We should go our of our way to only copy it if we have to store it
     
     if (!isOpen() || !pageCanHaveIcon(pageURLOriginal))
-        return defaultIcon(size);
+        return 0;
 
     MutexLocker locker(m_urlAndIconLock);
     
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to