Skip to content
  • beidson's avatar
    Reviewed by Maciej · cdf2b9ce
    beidson authored
            Set the stage to remove the workaround for the SQLite BLOB corruption.  A few other small cleanups, and
            preparation for pruning unreferenced and unretained icons.
    
            * icon/IconDatabase.cpp:
            (WebCore::IconDatabase::recreateDatabase):  Added another trigger to assist in icon removal
            (WebCore::IconDatabase::deletePrivateTables):  Cleaned up logging messages
            (WebCore::IconDatabase::imageDataForIconID):  #ifdefed the blobbing hack for impending removal, use the real blob by default
            (WebCore::IconDatabase::imageDataForIconURL):  same
            (WebCore::IconDatabase::imageDataForPageURL):  same
            (WebCore::IconDatabase::pruneUnreferencedIcons):  Will delete any icons and their data that are not referenced
              by any PageURL
            * icon/IconDatabase.h:
    
            * icon/SQLDatabase.h:  Changed BlobAsVector to be unsigned char as thats the most reasonable type for
              a byte-buffer, and is what CFData expects
            * icon/SQLStatement.cpp:
            (WebCore::SQLStatement::getColumnBlobAsVector):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cdf2b9ce