⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 90486 in webkit


Ignore:
Timestamp:
Jul 6, 2011, 1:27:32 PM (15 years ago)
Author:
sullivan@apple.com
Message:

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.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r90485 r90486  
     12011-07-06  John Sullivan  <sullivan@apple.com>
     2
     3        IconDatabase::synchronousIconForPageURL() has inconsistent API when no custom icon is available
     4        <https://bugs.webkit.org/show_bug.cgi?id=64015>
     5        <rdar://problem/9706277>
     6
     7        For some URLs it would return a particular size of default icon; for other
     8        URLs it would return 0.
     9
     10        Reviewed by Ada Chan.
     11
     12        * loader/icon/IconDatabase.cpp:
     13        (WebCore::IconDatabase::synchronousIconForPageURL):
     14        Return 0 in all cases where there is no custom icon.
     15
    1162011-07-06  Emil A Eklund  <eae@chromium.org>
    217
  • trunk/Source/WebCore/loader/icon/IconDatabase.cpp

    r89708 r90486  
    225225   
    226226    if (!isOpen() || !pageCanHaveIcon(pageURLOriginal))
    227         return defaultIcon(size);
     227        return 0;
    228228
    229229    MutexLocker locker(m_urlAndIconLock);
Note: See TracChangeset for help on using the changeset viewer.