Skip to content
  • darin@apple.com's avatar
    2008-11-03 Darin Adler <darin@apple.com> · 6d0ef6fb
    darin@apple.com authored
            Reviewed by Tim Hatcher.
    
            - https://bugs.webkit.org/show_bug.cgi?id=22061
              create script to check for exit-time destructors
    
            * WebCore.xcodeproj/project.pbxproj: Added a script
            phase that runs the check-for-exit-time-destructors script.
    
            * html/HTMLAttributeNames.in: Removed some unused attribute names.
    
            * html/HTMLEmbedElement.cpp:
            (WebCore::HTMLEmbedElement::parseMappedAttribute): Removed code that
            sets the write-only m_pluginPage.
            * html/HTMLEmbedElement.h: Ditto.
    
            * platform/mac/CursorMac.mm:
            (WebCore::leakNamedCursor): Changed to return a Cursor&.
            (WebCore::pointerCursor): Changed to leak an object to avoid an
            exit-time destructor.
            (WebCore::crossCursor): Ditto.
            (WebCore::handCursor): Ditto.
            (WebCore::moveCursor): Ditto.
            (WebCore::verticalTextCursor): Ditto.
            (WebCore::cellCursor): Ditto.
            (WebCore::contextMenuCursor): Ditto.
            (WebCore::aliasCursor): Ditto.
            (WebCore::zoomInCursor): Ditto.
            (WebCore::zoomOutCursor): Ditto.
            (WebCore::copyCursor): Ditto.
            (WebCore::noneCursor): Ditto.
            (WebCore::progressCursor): Ditto.
            (WebCore::noDropCursor): Ditto.
            (WebCore::notAllowedCursor): Ditto.
            (WebCore::iBeamCursor): Ditto.
            (WebCore::waitCursor): Ditto.
            (WebCore::helpCursor): Ditto.
            (WebCore::eastResizeCursor): Ditto.
            (WebCore::northResizeCursor): Ditto.
            (WebCore::northEastResizeCursor): Ditto.
            (WebCore::northWestResizeCursor): Ditto.
            (WebCore::southResizeCursor): Ditto.
            (WebCore::southEastResizeCursor): Ditto.
            (WebCore::southWestResizeCursor): Ditto.
            (WebCore::westResizeCursor): Ditto.
            (WebCore::northSouthResizeCursor): Ditto.
            (WebCore::eastWestResizeCursor): Ditto.
            (WebCore::northEastSouthWestResizeCursor): Ditto.
            (WebCore::northWestSouthEastResizeCursor): Ditto.
            (WebCore::columnResizeCursor): Ditto.
            (WebCore::rowResizeCursor): Ditto.
            (WebCore::grabCursor): Ditto.
            (WebCore::grabbingCursor): Ditto.
    
            * storage/Database.cpp:
            (WebCore::guidMutex): Changed to leak an object to avoid an
            exit-time destructor. Also added a comment explaining why it's
            thread safe.
            (WebCore::guidToVersionMap): Ditto.
            (WebCore::guidToDatabaseMap): Ditto.
            (WebCore::Database::databaseInfoTableName): Ditto.
            (WebCore::databaseVersionKey): Ditto.
            (WebCore::Database::getVersionFromDatabase): Ditto.
            (WebCore::Database::setVersionInDatabase): Ditto.
            (WebCore::guidForOriginAndName): Ditto.
            * storage/DatabaseTracker.cpp:
            (WebCore::DatabaseTracker::tracker): Ditto.
            (WebCore::notificationMutex): Ditto.
            (WebCore::notificationQueue): Ditto.
            (WebCore::DatabaseTracker::notifyDatabasesChanged): Ditto.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6d0ef6fb