• aroben@apple.com's avatar
    Move callOnMainThread to WTF · 614f946c
    aroben@apple.com authored
    JavaScriptCore:
    
            Move callOnMainThread to WTF
    
            Reviewed by Alexey Proskuryakov.
    
            * GNUmakefile.am:
            * JavaScriptCore.pri:
            * JavaScriptCore.vcproj/WTF/WTF.vcproj:
            * JavaScriptCore.xcodeproj/project.pbxproj:
            * JavaScriptCoreSources.bkl:
            Added new files.
    
            * wtf/MainThread.cpp:
            * wtf/MainThread.h:
            * wtf/gtk/MainThreadGtk.cpp:
            * wtf/mac/MainThreadMac.mm:
            * wtf/qt/MainThreadQt.cpp:
            * wtf/win/MainThreadWin.cpp:
            * wtf/wx/MainThreadWx.cpp:
            Moved here from WebCore/platform. Replaced all instances of "WebCore"
            with "WTF".
    
            * kjs/bool_object.cpp: Touched to force JavaScriptCore.vcproj to
            build.
            to the WTF namespace.
            * wtf/ThreadingWin.cpp:
            (WTF::initializeThreading): Call initializeMainThread.
    
    WebCore:
    
            Move callOnMainThread to WTF
    
            Reviewed by Alexey Proskuryakov.
    
            * GNUmakefile.am:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCoreSources.bkl:
            Removed MainThread files.
    
            * bindings/js/JSCustomSQLTransactionCallback.cpp:
            * loader/icon/IconDatabase.cpp:
            (WebCore::iconDatabase):
            * storage/Database.cpp:
            (WebCore::Database::Database):
            * storage/DatabaseTracker.cpp:
            Updated #includes and replaced calls to
            WebCore::initializeThreadingAndMainThread with calls to
            KJS::initializeThreading.
    
            * platform/MainThread.cpp: Removed.
            * platform/MainThread.h: Removed.
            * platform/gtk/MainThreadGtk.cpp: Removed.
            * platform/mac/MainThreadMac.mm: Removed.
            * platform/qt/MainThreadQt.cpp: Removed.
            * platform/win/MainThreadWin.cpp: Removed.
            * platform/wx/MainThreadWx.cpp: Removed.
    
    WebKit/gtk:
    
            Move callOnMainThread to WTF
    
            Reviewed by Alexey Proskuryakov.
    
            * webkit/webkitprivate.cpp: Updated #include.
            (webkit_init): Changed to call KJS::initializeThreading.
    
    WebKit/win:
    
            Move callOnMainThread to WTF
    
            Reviewed by Alexey Proskuryakov.
    
            * WebIconDatabase.cpp: Updated #include
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    614f946c
JavaScriptCoreSources.bkl 3.66 KB