-
beidson@apple.com authored
Global IconDatabase should be returned by reference, not as a pointer Reviewed by Darin Adler. ../WebCore: * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): (WebCore::HistoryItem::~HistoryItem): (WebCore::HistoryItem::reset): (WebCore::HistoryItem::icon): (WebCore::HistoryItem::setURLString): * loader/FrameLoader.cpp: (WebCore::FrameLoader::startIconLoader): (WebCore::FrameLoader::commitIconURLToIconDatabase): * loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create): * loader/icon/IconDatabase.cpp: (WebCore::iconDatabase): * loader/icon/IconDatabase.h: * loader/icon/IconDatabaseNone.cpp: (WebCore::iconDatabase): * loader/icon/wince/IconDatabaseWinCE.cpp: (WebCore::iconDatabase): * loader/icon/IconLoader.cpp: (WebCore::IconLoader::finishLoading): ../WebKit/efl: * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_set): (ewk_settings_icon_database_path_get): (ewk_settings_icon_database_clear): (ewk_settings_icon_database_icon_surface_get): (ewk_settings_icon_database_icon_object_add): ../WebKit/gtk: * webkit/webkitglobals.cpp: (closeIconDatabaseOnExit): (WebKit::setIconDatabaseEnabled): * webkit/webkitwebview.cpp: (webkit_web_view_get_icon_uri): ../WebKit/mac: * Misc/WebCoreStatistics.mm: (+[WebCoreStatistics iconPageURLMappingCount]): (+[WebCoreStatistics iconRetainedPageURLCount]): (+[WebCoreStatistics iconRecordCount]): (+[WebCoreStatistics iconsWithDataCount]): * Misc/WebIconDatabase.mm: (-[WebIconDatabase init]): (-[WebIconDatabase iconForURL:withSize:cache:]): (-[WebIconDatabase iconURLForURL:]): (-[WebIconDatabase defaultIconWithSize:]): (-[WebIconDatabase retainIconForURL:]): (-[WebIconDatabase releaseIconForURL:]): (-[WebIconDatabase isEnabled]): (-[WebIconDatabase setEnabled:]): (-[WebIconDatabase removeAllIcons]): (+[WebIconDatabase _checkIntegrityBeforeOpening]): (-[WebIconDatabase _startUpIconDatabase]): (-[WebIconDatabase _applicationWillTerminate:]): (-[WebIconDatabase _resetCachedWebPreferences:]): (importToWebCoreFormat): * WebView/WebView.mm: (-[WebView _dispatchDidReceiveIconFromWebFrame:]): ../WebKit/qt: * Api/qwebsettings.cpp: (QWebSettings::setIconDatabasePath): (QWebSettings::iconDatabasePath): (QWebSettings::clearIconDatabase): (QWebSettings::iconForUrl): ../WebKit/win: * WebCoreStatistics.cpp: (WebCoreStatistics::iconPageURLMappingCount): (WebCoreStatistics::iconRetainedPageURLCount): (WebCoreStatistics::iconRecordCount): (WebCoreStatistics::iconsWithDataCount): * WebIconDatabase.cpp: (WebIconDatabase::init): (WebIconDatabase::startUpIconDatabase): (WebIconDatabase::iconForURL): (WebIconDatabase::retainIconForURL): (WebIconDatabase::releaseIconForURL): (WebIconDatabase::removeAllIcons): (WebIconDatabase::iconURLForURL): (WebIconDatabase::isEnabled): (WebIconDatabase::setEnabled): (WebIconDatabase::hasIconForURL): (WebIconDatabase::getOrCreateDefaultIconBitmap): * WebKitDLL.cpp: (shutDownWebKit): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
43d2443f