Ignore:
Timestamp:
Apr 8, 2008, 1:12:29 PM (17 years ago)
Author:
Adam Roben
Message:

Move callOnMainThread to WTF

JavaScriptCore:

Move callOnMainThread to WTF

Reviewed by Alexey Proskuryakov.

  • 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj

    r31005 r31730  
    204204        </References>
    205205        <Files>
     206                <Filter
     207                        Name="win"
     208                        >
     209                        <File
     210                                RelativePath="..\..\wtf\win\MainThreadWin.cpp"
     211                                >
     212                        </File>
     213                </Filter>
    206214                <File
    207215                        RelativePath="..\..\wtf\AlwaysInline.h"
     
    294302                <File
    295303                        RelativePath="..\..\wtf\Locker.h"
     304                        >
     305                </File>
     306                <File
     307                        RelativePath="..\..\wtf\MainThread.cpp"
     308                        >
     309                </File>
     310                <File
     311                        RelativePath="..\..\wtf\MainThread.h"
    296312                        >
    297313                </File>
Note: See TracChangeset for help on using the changeset viewer.