Skip to content
  • beidson's avatar
    WebCore: · fb57a0eb
    beidson authored
            Reviewed by Beth
    
            Move the Thread Safety Check functions into their own header for export to WebKit
    
            * WebCore.exp: Export the function
            * WebCore.xcodeproj/project.pbxproj: 
            * bindings/scripts/CodeGeneratorObjC.pm: Include the new header
            * platform/Logging.h: Move stuff to ThreadCheck.h
            * platform/ThreadCheck.h: Added.
            * platform/mac/LoggingMac.mm: Move stuff to ThreadCheck.mm
            * platform/mac/ThreadCheck.mm: Added.
            (WebCore::_WebCoreThreadViolationCheck):
            (WebCoreReportThreadViolation):
    
    WebKit:
    
            Reviewed by Beth
    
            Start using the Thread Safety Check implemented in WebCore for the DOM bindings in the rest of
            the WebKit API instead of the ASSERT_MAIN_THREAD() hack
    
            * History/WebBackForwardList.mm:
            (-[WebBackForwardList initWithWebCoreBackForwardList:]):
            (-[WebBackForwardList init]):
            (-[WebBackForwardList dealloc]):
            (-[WebBackForwardList finalize]):
            * History/WebHistoryItem.mm:
            (-[WebHistoryItem initWithURLString:title:lastVisitedTimeInterval:]):
            (-[WebHistoryItem dealloc]):
            (-[WebHistoryItem finalize]):
            (-[WebHistoryItem copyWithZone:]):
            (-[WebHistoryItem initWithWebCoreHistoryItem:]):
            * Misc/WebIconDatabase.mm:
            (-[WebIconDatabase init]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fb57a0eb