<rdar://problem/
5436617> Favicons sometimes don't show up even when they are
in the database
- A client can try to retain an icon for a page before the database is actually
opened. Since isOpened() is not a requirement to retain an icon, remove the check
for that. Instead, we'll check to make sure whether this database is enabled
before proceeding.
Reviewed by Brady.
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::retainIconForPageURL):
(WebCore::IconDatabase::releaseIconForPageURL): only check isOpen() before we
schedule for a sync.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26068
268f45cc-cd09-0410-ab3c-
d52691b4dbfc