• cblu's avatar
    - don't set nil data on the web file db · af9d14ce
    cblu authored
    	- store absolute URLs in the db, not base URL/path combination URLs
    	- support for multiple hosts with the same built-in icon
    
            * Misc.subproj/WebIconDatabase.m:
            (-[WebIconDatabase init]): renamed some dictionaries
            (-[WebIconDatabase iconForSiteURL:withSize:]): call _builtInIconsForHost
            (-[WebIconDatabase _updateFileDatabase]): check for nil
            (-[WebIconDatabase _hasIconForSiteURL:]): call _pathForBuiltInIconForHost
            (-[WebIconDatabase _pathForBuiltInIconForHost:]): new
            (-[WebIconDatabase _builtInIconsForHost:]): call _pathForBuiltInIconForHost
            * Misc.subproj/WebIconDatabasePrivate.h:
            * WebView.subproj/WebDataSourcePrivate.m:
            (-[WebDataSource _loadIcon]): use absolute URL
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    af9d14ce
WebIconDatabase.m 23.3 KB