• andersca@apple.com's avatar
    Get rid of ThreadRestrictionVerifier · 98621338
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=127004
    
    Reviewed by Sam Weinig.
    
    Source/WebCore:
    
    Remove now unneeded calls.
    
    * loader/icon/IconDatabase.cpp:
    (WebCore::IconDatabase::defaultIcon):
    (WebCore::IconDatabase::setIconDataForIconURL):
    (WebCore::IconDatabase::getOrCreateIconRecord):
    (WebCore::IconDatabase::readFromDatabase):
    
    Source/WTF:
    
    The ThreadRestrictionVerifier mechanism has been turned off for a while
    since it doesn't really have a good solution for objects that are passed between threads.
    Instead of having dead code in the tree, just get rid of it.
    
    * GNUmakefile.list.am:
    * WTF.vcxproj/WTF.vcxproj:
    * WTF.vcxproj/WTF.vcxproj.filters:
    * WTF.xcodeproj/project.pbxproj:
    * wtf/CMakeLists.txt:
    * wtf/RefCounted.h:
    (WTF::RefCountedBase::ref):
    (WTF::RefCountedBase::hasOneRef):
    (WTF::RefCountedBase::refCount):
    (WTF::RefCountedBase::derefBase):
    * wtf/ThreadRestrictionVerifier.h: Removed.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    98621338