Move RunLoop from WebCore to WTF
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Nov 2013 20:59:28 +0000 (20:59 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Nov 2013 20:59:28 +0000 (20:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=116606

Reviewed by Anders Carlsson.

Source/WebCore:

* CMakeLists.txt:
* GNUmakefile.list.am:
* PlatformBlackBerry.cmake:
* PlatformEfl.cmake:
* PlatformGTK.cmake:
* PlatformWin.cmake:
* WebCore.exp.in:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:

Source/WebKit/mac:

* Carbon/CarbonWindowAdapter.mm:
(+[CarbonWindowAdapter initialize]):
* History/WebBackForwardList.mm:
(+[WebBackForwardList initialize]):
* History/WebHistoryItem.mm:
(+[WebHistoryItem initialize]):
* Misc/WebCache.mm:
(+[WebCache initialize]):
* Misc/WebElementDictionary.mm:
(+[WebElementDictionary initialize]):
* Misc/WebIconDatabase.mm:
(+[WebIconDatabase initialize]):
* Plugins/Hosted/WebHostedNetscapePluginView.mm:
(+[WebHostedNetscapePluginView initialize]):
* Plugins/WebBaseNetscapePluginView.mm:
* Plugins/WebBasePluginPackage.mm:
* Plugins/WebNetscapePluginView.mm:
(+[WebNetscapePluginView initialize]):
* WebCoreSupport/WebEditorClient.mm:
(+[WebUndoStep initialize]):
* WebCoreSupport/WebFrameLoaderClient.mm:
* WebView/WebArchive.mm:
(+[WebArchivePrivate initialize]):
* WebView/WebDataSource.mm:
(+[WebDataSource initialize]):
* WebView/WebHTMLView.mm:
(+[WebHTMLViewPrivate initialize]):
(+[WebHTMLView initialize]):
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
* WebView/WebResource.mm:
(+[WebResourcePrivate initialize]):
* WebView/WebTextIterator.mm:
(+[WebTextIteratorPrivate initialize]):
* WebView/WebView.mm:
(+[WebView initialize]):
* WebView/WebViewData.mm:
(+[WebViewPrivate initialize]):

Source/WebKit2:

* DatabaseProcess/DatabaseProcess.cpp:
* DatabaseProcess/DatabaseToWebProcessConnection.cpp:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
* NetworkProcess/NetworkProcess.cpp:
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/NetworkResourceLoader.h:
* NetworkProcess/mac/DiskCacheMonitor.h:
* NetworkProcess/unix/NetworkProcessMainUnix.cpp:
* Platform/CoreIPC/Connection.cpp:
* Platform/CoreIPC/Connection.h:
* Platform/CoreIPC/mac/ConnectionMac.cpp:
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
* PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm:
* PluginProcess/PluginControllerProxy.h:
* PluginProcess/PluginProcess.cpp:
* PluginProcess/PluginProcess.h:
* PluginProcess/WebProcessConnection.cpp:
* PluginProcess/unix/PluginProcessMainUnix.cpp:
* Shared/ChildProcess.cpp:
* Shared/ChildProcess.h:
* Shared/ChildProcessProxy.cpp:
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
* Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
* Shared/Plugins/NPObjectProxy.cpp:
* Shared/WebKit2Initialize.cpp:
(WebKit::InitializeWebKit2):
* UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
* UIProcess/API/mac/FindIndicatorWindow.h:
* UIProcess/API/mac/WKPrintingView.mm:
* UIProcess/API/mac/WKView.mm:
* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
* UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
* UIProcess/Network/NetworkProcessProxy.cpp:
* UIProcess/Plugins/PluginProcessProxy.cpp:
* UIProcess/ResponsivenessTimer.cpp:
* UIProcess/ResponsivenessTimer.h:
* UIProcess/VisitedLinkProvider.h:
* UIProcess/WebContext.cpp:
* UIProcess/WebProcessProxy.cpp:
* WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
* WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
* WebProcess/Network/WebResourceLoadScheduler.h:
* WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/NetscapePluginStream.h:
* WebProcess/Plugins/PluginView.h:
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/EventDispatcher.cpp:
* WebProcess/WebPage/PageOverlay.h:
* WebProcess/WebPage/WebPage.cpp:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebProcess.cpp:
* WebProcess/efl/WebProcessMainEfl.cpp:
* WebProcess/gtk/WebProcessMainGtk.cpp:

Source/WTF:

With this change RunLoop can be used in JavaScriptCore too.

* GNUmakefile.list.am:
* WTF.vcxproj/WTF.vcxproj:
* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/PlatformBlackBerry.cmake:
* wtf/PlatformEfl.cmake:
* wtf/PlatformGTK.cmake:
* wtf/PlatformWin.cmake:
* wtf/RunLoop.cpp: Renamed from Source/WebCore/platform/RunLoop.cpp.
(WTF::RunLoop::Holder::Holder):
(WTF::RunLoop::Holder::runLoop):
(WTF::RunLoop::initializeMainRunLoop):
(WTF::RunLoop::current):
(WTF::RunLoop::main):
(WTF::RunLoop::isMain):
(WTF::RunLoop::performWork):
(WTF::RunLoop::dispatch):
* wtf/RunLoop.h: Renamed from Source/WebCore/platform/RunLoop.h.
(WTF::RunLoop::TimerBase::startRepeating):
(WTF::RunLoop::TimerBase::startOneShot):
(WTF::RunLoop::TimerBase::isRepeating):
(WTF::RunLoop::Timer::Timer):
(WTF::RunLoop::Timer::fired):
* wtf/blackberry/RunLoopBlackBerry.cpp: Renamed from Source/WebCore/platform/blackberry/RunLoopBlackBerry.cpp.
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::wakeUp):
* wtf/cf/RunLoopCF.cpp: Renamed from Source/WebCore/platform/cf/RunLoopCF.cpp.
(WTF::RunLoop::performWork):
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::runForDuration):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::run):
(WTF::RunLoop::stop):
(WTF::RunLoop::TimerBase::timerFired):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):
* wtf/efl/RunLoopEfl.cpp: Renamed from Source/WebCore/platform/efl/RunLoopEfl.cpp.
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::run):
(WTF::RunLoop::stop):
(WTF::RunLoop::wakeUpEvent):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::timerFired):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):
* wtf/gtk/RunLoopGtk.cpp: Renamed from Source/WebCore/platform/gtk/RunLoopGtk.cpp.
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::run):
(WTF::RunLoop::innermostLoop):
(WTF::RunLoop::pushNestedMainLoop):
(WTF::RunLoop::popNestedMainLoop):
(WTF::RunLoop::stop):
(WTF::RunLoop::queueWork):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::clearTimerSource):
(WTF::RunLoop::TimerBase::timerFiredCallback):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):
* wtf/win/RunLoopWin.cpp: Renamed from Source/WebCore/platform/win/RunLoopWin.cpp.
(WTF::RunLoop::RunLoopWndProc):
(WTF::RunLoop::wndProc):
(WTF::RunLoop::run):
(WTF::RunLoop::stop):
(WTF::RunLoop::registerRunLoopMessageWindowClass):
(WTF::RunLoop::RunLoop):
(WTF::RunLoop::~RunLoop):
(WTF::RunLoop::wakeUp):
(WTF::RunLoop::TimerBase::timerFired):
(WTF::generateTimerID):
(WTF::RunLoop::TimerBase::TimerBase):
(WTF::RunLoop::TimerBase::~TimerBase):
(WTF::RunLoop::TimerBase::start):
(WTF::RunLoop::TimerBase::stop):
(WTF::RunLoop::TimerBase::isActive):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159001 268f45cc-cd09-0410-ab3c-d52691b4dbfc

108 files changed:
Source/WTF/ChangeLog
Source/WTF/GNUmakefile.list.am
Source/WTF/WTF.vcxproj/WTF.vcxproj
Source/WTF/WTF.xcodeproj/project.pbxproj
Source/WTF/wtf/CMakeLists.txt
Source/WTF/wtf/PlatformBlackBerry.cmake
Source/WTF/wtf/PlatformEfl.cmake
Source/WTF/wtf/PlatformGTK.cmake
Source/WTF/wtf/PlatformWin.cmake
Source/WTF/wtf/RunLoop.cpp [moved from Source/WebCore/platform/RunLoop.cpp with 98% similarity]
Source/WTF/wtf/RunLoop.h [moved from Source/WebCore/platform/RunLoop.h with 85% similarity]
Source/WTF/wtf/blackberry/RunLoopBlackBerry.cpp [moved from Source/WebCore/platform/blackberry/RunLoopBlackBerry.cpp with 97% similarity]
Source/WTF/wtf/cf/RunLoopCF.cpp [moved from Source/WebCore/platform/cf/RunLoopCF.cpp with 98% similarity]
Source/WTF/wtf/efl/RunLoopEfl.cpp [moved from Source/WebCore/platform/efl/RunLoopEfl.cpp with 97% similarity]
Source/WTF/wtf/gtk/RunLoopGtk.cpp [moved from Source/WebCore/platform/gtk/RunLoopGtk.cpp with 98% similarity]
Source/WTF/wtf/win/RunLoopWin.cpp [moved from Source/WebCore/platform/win/RunLoopWin.cpp with 96% similarity]
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/PlatformBlackBerry.cmake
Source/WebCore/PlatformEfl.cmake
Source/WebCore/PlatformGTK.cmake
Source/WebCore/PlatformWin.cmake
Source/WebCore/WebCore.exp.in
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h
Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/History/WebBackForwardList.mm
Source/WebKit/mac/History/WebHistoryItem.mm
Source/WebKit/mac/Misc/WebCache.mm
Source/WebKit/mac/Misc/WebElementDictionary.mm
Source/WebKit/mac/Misc/WebIconDatabase.mm
Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm
Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm
Source/WebKit/mac/Plugins/WebBasePluginPackage.mm
Source/WebKit/mac/Plugins/WebNetscapePluginView.mm
Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm
Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm
Source/WebKit/mac/WebView/WebArchive.mm
Source/WebKit/mac/WebView/WebDataSource.mm
Source/WebKit/mac/WebView/WebHTMLView.mm
Source/WebKit/mac/WebView/WebPreferences.mm
Source/WebKit/mac/WebView/WebResource.mm
Source/WebKit/mac/WebView/WebTextIterator.mm
Source/WebKit/mac/WebView/WebView.mm
Source/WebKit/mac/WebView/WebViewData.mm
Source/WebKit2/ChangeLog
Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp
Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp
Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp
Source/WebKit2/NetworkProcess/NetworkProcess.cpp
Source/WebKit2/NetworkProcess/NetworkProcess.h
Source/WebKit2/NetworkProcess/NetworkResourceLoader.h
Source/WebKit2/NetworkProcess/mac/DiskCacheMonitor.h
Source/WebKit2/NetworkProcess/unix/NetworkProcessMainUnix.cpp
Source/WebKit2/Platform/CoreIPC/Connection.cpp
Source/WebKit2/Platform/CoreIPC/Connection.h
Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm
Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm
Source/WebKit2/PluginProcess/PluginControllerProxy.h
Source/WebKit2/PluginProcess/PluginProcess.cpp
Source/WebKit2/PluginProcess/PluginProcess.h
Source/WebKit2/PluginProcess/WebProcessConnection.cpp
Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp
Source/WebKit2/Shared/ChildProcess.cpp
Source/WebKit2/Shared/ChildProcess.h
Source/WebKit2/Shared/ChildProcessProxy.cpp
Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h
Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm
Source/WebKit2/Shared/Plugins/NPObjectProxy.cpp
Source/WebKit2/Shared/WebKit2Initialize.cpp
Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.cpp
Source/WebKit2/UIProcess/API/mac/FindIndicatorWindow.h
Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
Source/WebKit2/UIProcess/API/mac/WKView.mm
Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h
Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h
Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp
Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm
Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp
Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp
Source/WebKit2/UIProcess/ResponsivenessTimer.cpp
Source/WebKit2/UIProcess/ResponsivenessTimer.h
Source/WebKit2/UIProcess/VisitedLinkProvider.h
Source/WebKit2/UIProcess/WebContext.cpp
Source/WebKit2/UIProcess/WebProcessProxy.cpp
Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.cpp
Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm
Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm
Source/WebKit2/WebProcess/Network/WebResourceLoadScheduler.h
Source/WebKit2/WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h
Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h
Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h
Source/WebKit2/WebProcess/Plugins/PluginView.h
Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h
Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp
Source/WebKit2/WebProcess/WebPage/PageOverlay.h
Source/WebKit2/WebProcess/WebPage/WebPage.cpp
Source/WebKit2/WebProcess/WebPage/WebPage.h
Source/WebKit2/WebProcess/WebProcess.cpp
Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp
Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp

index d69a7d8..9a3eeda 100644 (file)
@@ -1,3 +1,100 @@
+2013-11-09  Patrick Gansterer  <paroga@webkit.org>
+
+        Move RunLoop from WebCore to WTF
+        https://bugs.webkit.org/show_bug.cgi?id=116606
+
+        Reviewed by Anders Carlsson.
+
+        With this change RunLoop can be used in JavaScriptCore too.
+
+        * GNUmakefile.list.am:
+        * WTF.vcxproj/WTF.vcxproj:
+        * WTF.xcodeproj/project.pbxproj:
+        * wtf/CMakeLists.txt:
+        * wtf/PlatformBlackBerry.cmake:
+        * wtf/PlatformEfl.cmake:
+        * wtf/PlatformGTK.cmake:
+        * wtf/PlatformWin.cmake:
+        * wtf/RunLoop.cpp: Renamed from Source/WebCore/platform/RunLoop.cpp.
+        (WTF::RunLoop::Holder::Holder):
+        (WTF::RunLoop::Holder::runLoop):
+        (WTF::RunLoop::initializeMainRunLoop):
+        (WTF::RunLoop::current):
+        (WTF::RunLoop::main):
+        (WTF::RunLoop::isMain):
+        (WTF::RunLoop::performWork):
+        (WTF::RunLoop::dispatch):
+        * wtf/RunLoop.h: Renamed from Source/WebCore/platform/RunLoop.h.
+        (WTF::RunLoop::TimerBase::startRepeating):
+        (WTF::RunLoop::TimerBase::startOneShot):
+        (WTF::RunLoop::TimerBase::isRepeating):
+        (WTF::RunLoop::Timer::Timer):
+        (WTF::RunLoop::Timer::fired):
+        * wtf/blackberry/RunLoopBlackBerry.cpp: Renamed from Source/WebCore/platform/blackberry/RunLoopBlackBerry.cpp.
+        (WTF::RunLoop::RunLoop):
+        (WTF::RunLoop::~RunLoop):
+        (WTF::RunLoop::wakeUp):
+        * wtf/cf/RunLoopCF.cpp: Renamed from Source/WebCore/platform/cf/RunLoopCF.cpp.
+        (WTF::RunLoop::performWork):
+        (WTF::RunLoop::RunLoop):
+        (WTF::RunLoop::~RunLoop):
+        (WTF::RunLoop::runForDuration):
+        (WTF::RunLoop::wakeUp):
+        (WTF::RunLoop::run):
+        (WTF::RunLoop::stop):
+        (WTF::RunLoop::TimerBase::timerFired):
+        (WTF::RunLoop::TimerBase::TimerBase):
+        (WTF::RunLoop::TimerBase::~TimerBase):
+        (WTF::RunLoop::TimerBase::start):
+        (WTF::RunLoop::TimerBase::stop):
+        (WTF::RunLoop::TimerBase::isActive):
+        * wtf/efl/RunLoopEfl.cpp: Renamed from Source/WebCore/platform/efl/RunLoopEfl.cpp.
+        (WTF::RunLoop::RunLoop):
+        (WTF::RunLoop::~RunLoop):
+        (WTF::RunLoop::run):
+        (WTF::RunLoop::stop):
+        (WTF::RunLoop::wakeUpEvent):
+        (WTF::RunLoop::wakeUp):
+        (WTF::RunLoop::TimerBase::TimerBase):
+        (WTF::RunLoop::TimerBase::~TimerBase):
+        (WTF::RunLoop::TimerBase::timerFired):
+        (WTF::RunLoop::TimerBase::start):
+        (WTF::RunLoop::TimerBase::stop):
+        (WTF::RunLoop::TimerBase::isActive):
+        * wtf/gtk/RunLoopGtk.cpp: Renamed from Source/WebCore/platform/gtk/RunLoopGtk.cpp.
+        (WTF::RunLoop::RunLoop):
+        (WTF::RunLoop::~RunLoop):
+        (WTF::RunLoop::run):
+        (WTF::RunLoop::innermostLoop):
+        (WTF::RunLoop::pushNestedMainLoop):
+        (WTF::RunLoop::popNestedMainLoop):
+        (WTF::RunLoop::stop):
+        (WTF::RunLoop::queueWork):
+        (WTF::RunLoop::wakeUp):
+        (WTF::RunLoop::TimerBase::TimerBase):
+        (WTF::RunLoop::TimerBase::~TimerBase):
+        (WTF::RunLoop::TimerBase::clearTimerSource):
+        (WTF::RunLoop::TimerBase::timerFiredCallback):
+        (WTF::RunLoop::TimerBase::start):
+        (WTF::RunLoop::TimerBase::stop):
+        (WTF::RunLoop::TimerBase::isActive):
+        * wtf/win/RunLoopWin.cpp: Renamed from Source/WebCore/platform/win/RunLoopWin.cpp.
+        (WTF::RunLoop::RunLoopWndProc):
+        (WTF::RunLoop::wndProc):
+        (WTF::RunLoop::run):
+        (WTF::RunLoop::stop):
+        (WTF::RunLoop::registerRunLoopMessageWindowClass):
+        (WTF::RunLoop::RunLoop):
+        (WTF::RunLoop::~RunLoop):
+        (WTF::RunLoop::wakeUp):
+        (WTF::RunLoop::TimerBase::timerFired):
+        (WTF::generateTimerID):
+        (WTF::RunLoop::TimerBase::TimerBase):
+        (WTF::RunLoop::TimerBase::~TimerBase):
+        (WTF::RunLoop::TimerBase::start):
+        (WTF::RunLoop::TimerBase::stop):
+        (WTF::RunLoop::TimerBase::isActive):
+
 2013-11-08  Alexey Proskuryakov  <ap@apple.com>
 
         Make base64url decoding actually work
index 270ebb4..7926104 100644 (file)
@@ -137,6 +137,8 @@ wtf_sources += \
     Source/WTF/wtf/RefPtr.h \
     Source/WTF/wtf/RefPtrHashMap.h \
     Source/WTF/wtf/RetainPtr.h \
+    Source/WTF/wtf/RunLoop.cpp \
+    Source/WTF/wtf/RunLoop.h \
     Source/WTF/wtf/SHA1.cpp \
     Source/WTF/wtf/SHA1.h \
     Source/WTF/wtf/SaturatedArithmetic.h \
@@ -216,6 +218,7 @@ wtf_sources += \
     Source/WTF/wtf/gobject/GlibUtilities.cpp \
     Source/WTF/wtf/gobject/GlibUtilities.h \
     Source/WTF/wtf/gtk/MainThreadGtk.cpp \
+    Source/WTF/wtf/gtk/RunLoopGtk.cpp \
     Source/WTF/wtf/text/ASCIIFastPath.h \
     Source/WTF/wtf/text/AtomicString.cpp \
     Source/WTF/wtf/text/AtomicString.h \
index 15be653..516c5f1 100644 (file)
@@ -89,6 +89,7 @@
     <ClCompile Include="..\wtf\RAMSize.cpp" />\r
     <ClCompile Include="..\wtf\RandomNumber.cpp" />\r
     <ClCompile Include="..\wtf\RefCountedLeakCounter.cpp" />\r
+    <ClCompile Include="..\wtf\RunLoop.cpp" />\r
     <ClCompile Include="..\wtf\SHA1.cpp" />\r
     <ClCompile Include="..\wtf\SixCharacterHash.cpp" />\r
     <ClCompile Include="..\wtf\SizeLimits.cpp" />\r
     <ClCompile Include="..\wtf\unicode\icu\CollatorICU.cpp" />\r
     <ClCompile Include="..\wtf\unicode\UTF8.cpp" />\r
     <ClCompile Include="..\wtf\win\MainThreadWin.cpp" />\r
+    <ClCompile Include="..\wtf\win\RunLoopWin.cpp" />\r
     <ClCompile Include="..\wtf\WTFThreadData.cpp" />\r
     <ClCompile Include="..\wtf\SchedulePairCF.cpp" />\r
   </ItemGroup>\r
     <ClInclude Include="..\wtf\RefPtr.h" />\r
     <ClInclude Include="..\wtf\RefPtrHashMap.h" />\r
     <ClInclude Include="..\wtf\RetainPtr.h" />\r
+    <ClInclude Include="..\wtf\RunLoop.h" />\r
     <ClInclude Include="..\wtf\SaturatedArithmetic.h" />\r
     <ClInclude Include="..\wtf\SchedulePair.h" />\r
     <ClInclude Include="..\wtf\SegmentedVector.h" />\r
index c6adfc8..adcb4a2 100644 (file)
@@ -60,6 +60,9 @@
                26299B6E17A9E5B800ADEBE5 /* Ref.h in Headers */ = {isa = PBXBuildFile; fileRef = 26299B6D17A9E5B800ADEBE5 /* Ref.h */; };
                2C05385415BC819000F21B96 /* GregorianDateTime.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C05385315BC819000F21B96 /* GregorianDateTime.h */; };
                2CCD892A15C0390200285083 /* GregorianDateTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CCD892915C0390200285083 /* GregorianDateTime.cpp */; };
+               2CDED0EF18115C38004DBA70 /* RunLoopCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */; };
+               2CDED0F318115C85004DBA70 /* RunLoop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2CDED0F118115C85004DBA70 /* RunLoop.cpp */; };
+               2CDED0F418115C85004DBA70 /* RunLoop.h in Headers */ = {isa = PBXBuildFile; fileRef = 2CDED0F218115C85004DBA70 /* RunLoop.h */; };
                44F66008171AFAE600E4AD19 /* EnumClass.h in Headers */ = {isa = PBXBuildFile; fileRef = 44F66007171AFAA900E4AD19 /* EnumClass.h */; };
                4F0321BC156AA8D1006EBAF6 /* BitArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F0321BB156AA8D1006EBAF6 /* BitArray.h */; };
                7E29C33E15FFD79B00516D61 /* ObjcRuntimeExtras.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E29C33D15FFD79B00516D61 /* ObjcRuntimeExtras.h */; };
                26299B6D17A9E5B800ADEBE5 /* Ref.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Ref.h; sourceTree = "<group>"; };
                2C05385315BC819000F21B96 /* GregorianDateTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GregorianDateTime.h; sourceTree = "<group>"; };
                2CCD892915C0390200285083 /* GregorianDateTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GregorianDateTime.cpp; sourceTree = "<group>"; };
+               2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RunLoopCF.cpp; path = cf/RunLoopCF.cpp; sourceTree = "<group>"; };
+               2CDED0F118115C85004DBA70 /* RunLoop.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RunLoop.cpp; sourceTree = "<group>"; };
+               2CDED0F218115C85004DBA70 /* RunLoop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RunLoop.h; sourceTree = "<group>"; };
                44DEE74A152274BB00C6EC37 /* iOS.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = iOS.xcconfig; sourceTree = "<group>"; };
                44F66007171AFAA900E4AD19 /* EnumClass.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EnumClass.h; sourceTree = "<group>"; };
                4F0321BB156AA8D1006EBAF6 /* BitArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BitArray.h; sourceTree = "<group>"; };
                        path = ios;
                        sourceTree = "<group>";
                };
+               2CDED0F018115C3F004DBA70 /* cf */ = {
+                       isa = PBXGroup;
+                       children = (
+                               2CDED0EE18115C38004DBA70 /* RunLoopCF.cpp */,
+                       );
+                       name = cf;
+                       sourceTree = "<group>";
+               };
                5D247B5714689B8600E78B76 = {
                        isa = PBXGroup;
                        children = (
                A876DBD6151816E500DADB95 /* wtf */ = {
                        isa = PBXGroup;
                        children = (
+                               2CDED0F018115C3F004DBA70 /* cf */,
                                A8A47281151A825A004123FF /* dtoa */,
                                1FA47C87152502DA00568D1B /* ios */,
                                A8A472C4151A825A004123FF /* mac */,
                                A8A47303151A825B004123FF /* RefPtr.h */,
                                A8A47304151A825B004123FF /* RefPtrHashMap.h */,
                                A8A47305151A825B004123FF /* RetainPtr.h */,
+                               2CDED0F118115C85004DBA70 /* RunLoop.cpp */,
+                               2CDED0F218115C85004DBA70 /* RunLoop.h */,
                                1469419016EAAF6D0024E146 /* RunLoopTimer.h */,
                                1469419116EAAF6D0024E146 /* RunLoopTimerCF.cpp */,
                                14F3B0F615E45E4600210069 /* SaturatedArithmetic.h */,
                                A8A4741C151A825B004123FF /* RefPtr.h in Headers */,
                                A8A4741D151A825B004123FF /* RefPtrHashMap.h in Headers */,
                                A8A4741E151A825B004123FF /* RetainPtr.h in Headers */,
+                               2CDED0F418115C85004DBA70 /* RunLoop.h in Headers */,
                                1469419216EAAF6D0024E146 /* RunLoopTimer.h in Headers */,
                                14F3B0F715E45E4600210069 /* SaturatedArithmetic.h in Headers */,
                                1469419616EAAFF80024E146 /* SchedulePair.h in Headers */,
                                143F611F1565F0F900DB514A /* RAMSize.cpp in Sources */,
                                A8A47414151A825B004123FF /* RandomNumber.cpp in Sources */,
                                A8A4741A151A825B004123FF /* RefCountedLeakCounter.cpp in Sources */,
+                               2CDED0F318115C85004DBA70 /* RunLoop.cpp in Sources */,
+                               2CDED0EF18115C38004DBA70 /* RunLoopCF.cpp in Sources */,
                                1469419316EAAF6D0024E146 /* RunLoopTimerCF.cpp in Sources */,
                                1469419916EAB0410024E146 /* SchedulePairCF.cpp in Sources */,
                                A5BA15F3182433A900A82E69 /* StringMac.mm in Sources */,
index b617b7d..ab2e4bf 100644 (file)
@@ -86,6 +86,7 @@ set(WTF_HEADERS
     RefPtr.h
     RefPtrHashMap.h
     RetainPtr.h
+    RunLoop.h
     SHA1.h
     SaturatedArithmetic.h
     SegmentedVector.h
@@ -173,6 +174,7 @@ set(WTF_SOURCES
     RAMSize.cpp
     RandomNumber.cpp
     RefCountedLeakCounter.cpp
+    RunLoop.cpp
     SHA1.cpp
     SixCharacterHash.cpp
     StackBounds.cpp
index b5de305..085766c 100644 (file)
@@ -1,3 +1,4 @@
 list(APPEND WTF_SOURCES
     blackberry/MainThreadBlackBerry.cpp
+    blackberry/RunLoopBlackBerry.cpp
 )
index 771c82e..e10a442 100644 (file)
@@ -2,6 +2,7 @@ list(APPEND WTF_SOURCES
     efl/MainThreadEfl.cpp
     efl/OwnPtrEfl.cpp
     efl/RefPtrEfl.cpp
+    efl/RunLoopEfl.cpp
 
     gobject/GOwnPtr.cpp
     gobject/GRefPtr.cpp
index 68940ff..43da709 100644 (file)
@@ -4,6 +4,7 @@ list(APPEND WTF_SOURCES
     gobject/GlibUtilities.cpp
 
     gtk/MainThreadGtk.cpp
+    gtk/RunLoopGtk.cpp
 )
 
 list(APPEND WTF_LIBRARIES
index 88bdaf7..8834d25 100644 (file)
@@ -2,6 +2,7 @@ list(APPEND WTF_SOURCES
     threads/win/BinarySemaphoreWin.cpp
 
     win/MainThreadWin.cpp
+    win/RunLoopWin.cpp
 )
 
 if (WINCE)
similarity index 98%
rename from Source/WebCore/platform/RunLoop.cpp
rename to Source/WTF/wtf/RunLoop.cpp
index 055417c..11a860f 100644 (file)
@@ -29,7 +29,7 @@
 #include <wtf/StdLibExtras.h>
 #include <wtf/ThreadSpecific.h>
 
-namespace WebCore {
+namespace WTF {
 
 static RunLoop* s_mainRunLoop;
 
@@ -128,4 +128,4 @@ void RunLoop::dispatch(std::function<void ()> function)
     wakeUp();
 }
 
-} // namespace WebCore
+} // namespace WTF
similarity index 85%
rename from Source/WebCore/platform/RunLoop.h
rename to Source/WTF/wtf/RunLoop.h
index c793490..528b44e 100644 (file)
 #include <Ecore.h>
 #endif
 
-namespace WebCore {
+namespace WTF {
 
 class RunLoop : public FunctionDispatcher {
 public:
     // Must be called from the main thread (except for the Mac platform, where it
     // can be called from any thread).
-    static void initializeMainRunLoop();
+    WTF_EXPORT_PRIVATE static void initializeMainRunLoop();
 
-    static RunLoop* current();
-    static RunLoop* main();
-    static bool isMain();
+    WTF_EXPORT_PRIVATE static RunLoop* current();
+    WTF_EXPORT_PRIVATE static RunLoop* main();
+    WTF_EXPORT_PRIVATE static bool isMain();
     ~RunLoop();
 
     virtual void dispatch(std::function<void ()>) OVERRIDE;
 
-    static void run();
-    void stop();
-    void wakeUp();
+    WTF_EXPORT_PRIVATE static void run();
+    WTF_EXPORT_PRIVATE void stop();
+    WTF_EXPORT_PRIVATE void wakeUp();
 
 #if PLATFORM(MAC)
-    void runForDuration(double duration);
+    WTF_EXPORT_PRIVATE void runForDuration(double duration);
 #endif
     
     class TimerBase {
         friend class RunLoop;
     public:
-        explicit TimerBase(RunLoop*);
-        virtual ~TimerBase();
+        WTF_EXPORT_PRIVATE explicit TimerBase(RunLoop*);
+        WTF_EXPORT_PRIVATE virtual ~TimerBase();
 
         void startRepeating(double repeatInterval) { start(repeatInterval, true); }
         void startOneShot(double interval) { start(interval, false); }
 
-        void stop();
-        bool isActive() const;
+        WTF_EXPORT_PRIVATE void stop();
+        WTF_EXPORT_PRIVATE bool isActive() const;
 
         virtual void fired() = 0;
 
     private:
-        void start(double nextFireInterval, bool repeat);
+        WTF_EXPORT_PRIVATE void start(double nextFireInterval, bool repeat);
 
         RunLoop* m_runLoop;
 
@@ -157,7 +157,7 @@ private:
     Mutex m_wakeUpEventRequestedLock;
     bool m_wakeUpEventRequested;
 
-    static void wakeUpEvent(void* data, void*, unsigned int);
+    static void wakeUpEvent(void* data, void*, unsigned);
 #elif USE(GLIB)
 public:
     static gboolean queueWork(RunLoop*);
@@ -170,6 +170,8 @@ private:
 #endif
 };
 
-} // namespace WebCore
+} // namespace WTF
+
+using WTF::RunLoop;
 
 #endif // RunLoop_h
@@ -28,7 +28,7 @@
 
 #include "NotImplemented.h"
 
-namespace WebCore {
+namespace WTF {
 
 RunLoop::RunLoop()
 {
@@ -45,4 +45,4 @@ void RunLoop::wakeUp()
     notImplemented();
 }
 
-} // namespace WebCore
+} // namespace WTF
similarity index 98%
rename from Source/WebCore/platform/cf/RunLoopCF.cpp
rename to Source/WTF/wtf/cf/RunLoopCF.cpp
index f618e02..9675867 100644 (file)
@@ -30,7 +30,7 @@
 #include <dispatch/dispatch.h>
 #include <wtf/AutodrainedPool.h>
 
-namespace WebCore {
+namespace WTF {
 
 void RunLoop::performWork(void* context)
 {
@@ -126,4 +126,4 @@ bool RunLoop::TimerBase::isActive() const
     return m_timer && CFRunLoopTimerIsValid(m_timer.get());
 }
 
-} // namespace WebCore
+} // namespace WTF
similarity index 97%
rename from Source/WebCore/platform/efl/RunLoopEfl.cpp
rename to Source/WTF/wtf/efl/RunLoopEfl.cpp
index a92dcdf..4a38497 100644 (file)
@@ -34,7 +34,7 @@
 static const int ecorePipeMessageSize = 1;
 static const char wakupEcorePipeMessage[] = "W";
 
-namespace WebCore {
+namespace WTF {
 
 RunLoop::RunLoop()
     : m_initEfl(false)
@@ -58,7 +58,7 @@ void RunLoop::stop()
     ecore_main_loop_quit();
 }
 
-void RunLoop::wakeUpEvent(void* data, void*, unsigned int)
+void RunLoop::wakeUpEvent(void* data, void*, unsigned)
 {
     RunLoop* loop = static_cast<RunLoop*>(data);
 
@@ -131,4 +131,4 @@ bool RunLoop::TimerBase::isActive() const
     return (m_timer) ? true : false;
 }
 
-} // namespace WebCore
+} // namespace WTF
similarity index 98%
rename from Source/WebCore/platform/gtk/RunLoopGtk.cpp
rename to Source/WTF/wtf/gtk/RunLoopGtk.cpp
index 6e3292d..8a2ea22 100644 (file)
 #include "config.h"
 #include "RunLoop.h"
 
-#include <gdk/gdk.h>
 #include <glib.h>
-
 #include <wtf/MainThread.h>
 
-namespace WebCore {
+namespace WTF {
 
 RunLoop::RunLoop()
 {
@@ -168,4 +166,4 @@ bool RunLoop::TimerBase::isActive() const
     return m_timerSource;
 }
 
-} // namespace WebCore
+} // namespace WTF
similarity index 96%
rename from Source/WebCore/platform/win/RunLoopWin.cpp
rename to Source/WTF/wtf/win/RunLoopWin.cpp
index cf69c06..33531b6 100644 (file)
@@ -31,7 +31,7 @@
 
 using namespace std;
 
-namespace WebCore {
+namespace WTF {
 
 static const UINT PerformWorkMessage = WM_USER + 1;
 static const LPWSTR kRunLoopMessageWindowClassName = L"RunLoopMessageWindow";
@@ -99,8 +99,7 @@ RunLoop::RunLoop()
     registerRunLoopMessageWindowClass();
 
     m_runLoopMessageWindow = ::CreateWindow(kRunLoopMessageWindowClassName, 0, 0,
-                                            CW_USEDEFAULT, 0, CW_USEDEFAULT, 0,
-                                            HWND_MESSAGE, 0, 0, this);
+        CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, HWND_MESSAGE, 0, 0, this);
     ASSERT(::IsWindow(m_runLoopMessageWindow));
 }
 
@@ -176,4 +175,4 @@ bool RunLoop::TimerBase::isActive() const
     return m_runLoop->m_activeTimers.contains(m_ID);
 }
 
-} // namespace WebCore
+} // namespace WTF
index 69cc5c9..87040e7 100644 (file)
@@ -1783,7 +1783,6 @@ set(WebCore_SOURCES
     platform/NotImplemented.cpp
     platform/PlatformEvent.cpp
     platform/PlatformStrategies.cpp
-    platform/RunLoop.cpp
     platform/RuntimeApplicationChecks.cpp
     platform/SchemeRegistry.cpp
     platform/ScrollAnimator.cpp
index 40c83b4..3775586 100644 (file)
@@ -1,3 +1,22 @@
+2013-11-09  Patrick Gansterer  <paroga@webkit.org>
+
+        Move RunLoop from WebCore to WTF
+        https://bugs.webkit.org/show_bug.cgi?id=116606
+
+        Reviewed by Anders Carlsson.
+
+        * CMakeLists.txt:
+        * GNUmakefile.list.am:
+        * PlatformBlackBerry.cmake:
+        * PlatformEfl.cmake:
+        * PlatformGTK.cmake:
+        * PlatformWin.cmake:
+        * WebCore.exp.in:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.xcodeproj/project.pbxproj:
+        * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
+        * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
+
 2013-11-09  Andreas Kling  <akling@apple.com>
 
         Tighten typing in SVGResourcesCycleSolver a bit.
index 8a87796..771fe0c 100644 (file)
@@ -6027,8 +6027,6 @@ platform_sources += \
        Source/WebCore/platform/PODRedBlackTree.h \
        Source/WebCore/platform/ReferrerPolicy.h \
        Source/WebCore/platform/RefCountedSupplement.h \
-       Source/WebCore/platform/RunLoop.cpp \
-       Source/WebCore/platform/RunLoop.h \
        Source/WebCore/platform/RuntimeApplicationChecks.cpp \
        Source/WebCore/platform/RuntimeApplicationChecks.h \
        Source/WebCore/platform/SearchPopupMenu.h \
@@ -6182,7 +6180,6 @@ platformgtk_sources += \
        Source/WebCore/platform/gtk/PlatformMouseEventGtk.cpp \
        Source/WebCore/platform/gtk/PlatformScreenGtk.cpp \
        Source/WebCore/platform/gtk/PlatformWheelEventGtk.cpp \
-       Source/WebCore/platform/gtk/RunLoopGtk.cpp \
        Source/WebCore/platform/gtk/SearchPopupMenuGtk.cpp \
        Source/WebCore/platform/gtk/SearchPopupMenuGtk.h \
        Source/WebCore/platform/gtk/SharedBufferGtk.cpp \
index 8cd2fdc..1a04450 100644 (file)
@@ -120,7 +120,6 @@ list(APPEND WebCore_SOURCES
     platform/blackberry/PlatformTouchPointBlackBerry.cpp
     platform/blackberry/PopupMenuBlackBerry.cpp
     platform/blackberry/RenderThemeBlackBerry.cpp
-    platform/blackberry/RunLoopBlackBerry.cpp
     platform/blackberry/SSLKeyGeneratorBlackBerry.cpp
     platform/blackberry/ScrollbarThemeBlackBerry.cpp
     platform/blackberry/SearchPopupMenuBlackBerry.cpp
index 27d2a5b..12d8e0b 100644 (file)
@@ -83,7 +83,6 @@ list(APPEND WebCore_SOURCES
     platform/efl/PlatformScreenEfl.cpp
     platform/efl/PlatformWheelEventEfl.cpp
     platform/efl/RenderThemeEfl.cpp
-    platform/efl/RunLoopEfl.cpp
     platform/efl/ScrollbarEfl.cpp
     platform/efl/ScrollbarThemeEfl.cpp
     platform/efl/SharedTimerEfl.cpp
index 8be07a0..197e1d6 100644 (file)
@@ -164,7 +164,6 @@ list(APPEND WebCore_SOURCES
     platform/gtk/RenderThemeGtk.cpp
     platform/gtk/RenderThemeGtk2.cpp
     platform/gtk/RenderThemeGtk3.cpp
-    platform/gtk/RunLoopGtk.cpp
     platform/gtk/ScrollViewGtk.cpp
     platform/gtk/ScrollbarThemeGtk.cpp
     platform/gtk/ScrollbarThemeGtk2.cpp
index 752e841..a0fa022 100644 (file)
@@ -52,7 +52,6 @@ list(APPEND WebCore_SOURCES
     platform/win/PlatformMouseEventWin.cpp
     platform/win/PlatformScreenWin.cpp
     platform/win/PopupMenuWin.cpp
-    platform/win/RunLoopWin.cpp
     platform/win/SSLKeyGeneratorWin.cpp
     platform/win/ScrollbarThemeWin.cpp
     platform/win/SearchPopupMenuWin.cpp
index 1b11cd2..7449ced 100644 (file)
@@ -1110,18 +1110,6 @@ __ZN7WebCore7IntRect9intersectERKS0_
 __ZN7WebCore7IntRectC1ERKNS_10LayoutRectE
 __ZN7WebCore7IntRectC1ERKNS_9FloatRectE
 __ZN7WebCore7IntSizeC1ERK6CGSize
-__ZN7WebCore7RunLoop14runForDurationEd
-__ZN7WebCore7RunLoop21initializeMainRunLoopEv
-__ZN7WebCore7RunLoop3runEv
-__ZN7WebCore7RunLoop4mainEv
-__ZN7WebCore7RunLoop4stopEv
-__ZN7WebCore7RunLoop6isMainEv
-__ZN7WebCore7RunLoop6wakeUpEv
-__ZN7WebCore7RunLoop7currentEv
-__ZN7WebCore7RunLoop9TimerBase4stopEv
-__ZN7WebCore7RunLoop9TimerBase5startEdb
-__ZN7WebCore7RunLoop9TimerBaseC2EPS0_
-__ZN7WebCore7RunLoop9TimerBaseD2Ev
 __ZN7WebCore7TextRun19allowsRoundingHacksEv
 __ZN7WebCore7TextRun21s_allowsRoundingHacksE
 __ZN7WebCore7TextRun22setAllowsRoundingHacksEb
@@ -1746,7 +1734,6 @@ __ZNK7WebCore7Element19beforePseudoElementEv
 __ZNK7WebCore7IntRect10intersectsERKS0_
 __ZNK7WebCore7IntRect8containsERKS0_
 __ZNK7WebCore7IntRectcv6CGRectEv
-__ZNK7WebCore7RunLoop9TimerBase8isActiveEv
 __ZNK7WebCore8Document11completeURLERKN3WTF6StringE
 __ZNK7WebCore8Document13axObjectCacheEv
 __ZNK7WebCore8Document31displayStringModifiedByEncodingERKN3WTF6StringE
index 64bdb1c..dd29f8d 100644 (file)
     <ClCompile Include="..\platform\NotImplemented.cpp" />
     <ClCompile Include="..\platform\PlatformEvent.cpp" />
     <ClCompile Include="..\platform\PlatformStrategies.cpp" />
-    <ClCompile Include="..\platform\RunLoop.cpp" />
     <ClCompile Include="..\platform\RuntimeApplicationChecks.cpp" />
     <ClCompile Include="..\platform\SchemeRegistry.cpp" />
     <ClCompile Include="..\platform\ScrollableArea.cpp" />
     <ClCompile Include="..\platform\win\PlatformMouseEventWin.cpp" />
     <ClCompile Include="..\platform\win\PlatformScreenWin.cpp" />
     <ClCompile Include="..\platform\win\PopupMenuWin.cpp" />
-    <ClCompile Include="..\platform\win\RunLoopWin.cpp" />
     <ClCompile Include="..\platform\win\ScrollbarThemeSafari.cpp" />
     <ClCompile Include="..\platform\win\ScrollbarThemeWin.cpp" />
     <ClCompile Include="..\platform\win\SearchPopupMenuWin.cpp" />
     <ClInclude Include="..\platform\PopupMenuStyle.h" />
     <ClInclude Include="..\platform\PurgeableBuffer.h" />
     <ClInclude Include="..\platform\ReferrerPolicy.h" />
-    <ClInclude Include="..\platform\RunLoop.h" />
     <ClInclude Include="..\platform\RuntimeApplicationChecks.h" />
     <ClInclude Include="..\platform\SchemeRegistry.h" />
     <ClInclude Include="..\platform\ScrollableArea.h" />
index 5f4629b..0b7f608 100644 (file)
                297BE3D716C03C0E003316BD /* PlatformSpeechSynthesizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 29E4D8DF16B0940F00C84704 /* PlatformSpeechSynthesizer.h */; };
                297BE3D816C03CCE003316BD /* PlatformSpeechSynthesizerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 29E4D8E016B0959800C84704 /* PlatformSpeechSynthesizerMac.mm */; };
                297BE3DA16C043D8003316BD /* PlatformSpeechSynthesizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 297BE3D916C043D8003316BD /* PlatformSpeechSynthesizer.cpp */; };
-               29A309AC1561C99B00BBD8E5 /* RunLoopCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */; };
                29A8122B0FBB9C1D00510293 /* AccessibilityTable.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A8120D0FBB9C1D00510293 /* AccessibilityTable.h */; };
                29A8122C0FBB9C1D00510293 /* AccessibilityList.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A8120E0FBB9C1D00510293 /* AccessibilityList.h */; };
                29A8122E0FBB9C1D00510293 /* AccessibilityARIAGridCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 29A812100FBB9C1D00510293 /* AccessibilityARIAGridCell.h */; };
                BC06EE040BFD71AA00856E9D /* JSHTMLTableElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC06EE020BFD71AA00856E9D /* JSHTMLTableElement.cpp */; };
                BC06EE050BFD71AA00856E9D /* JSHTMLTableElement.h in Headers */ = {isa = PBXBuildFile; fileRef = BC06EE030BFD71AA00856E9D /* JSHTMLTableElement.h */; };
                BC073BAA0C399B1F000F5979 /* FloatConversion.h in Headers */ = {isa = PBXBuildFile; fileRef = BC073BA90C399B1F000F5979 /* FloatConversion.h */; };
-               BC0B358714C4F9830055E22A /* RunLoop.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC0B358514C4F9830055E22A /* RunLoop.cpp */; };
-               BC0B358814C4F9830055E22A /* RunLoop.h in Headers */ = {isa = PBXBuildFile; fileRef = BC0B358614C4F9830055E22A /* RunLoop.h */; settings = {ATTRIBUTES = (Private, ); }; };
                BC0B36A40CD3C67C00AC7EB5 /* Console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */; };
                BC0B36A50CD3C67C00AC7EB5 /* Console.h in Headers */ = {isa = PBXBuildFile; fileRef = BC0B36A20CD3C67C00AC7EB5 /* Console.h */; settings = {ATTRIBUTES = (Private, ); }; };
                BC10D76717D8EE6E005E2626 /* RenderBlockFlow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCFB45F417D8E49400444446 /* RenderBlockFlow.cpp */; };
                2981CAAF131822EC00D12F2A /* AXObjectCache.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AXObjectCache.cpp; sourceTree = "<group>"; };
                2985709215CC532D006355CD /* AccessibilityNodeObject.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityNodeObject.cpp; sourceTree = "<group>"; };
                2985709315CC532D006355CD /* AccessibilityNodeObject.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccessibilityNodeObject.h; sourceTree = "<group>"; };
-               29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RunLoopCF.cpp; sourceTree = "<group>"; };
                29A8120D0FBB9C1D00510293 /* AccessibilityTable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityTable.h; sourceTree = "<group>"; };
                29A8120E0FBB9C1D00510293 /* AccessibilityList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityList.h; sourceTree = "<group>"; };
                29A812100FBB9C1D00510293 /* AccessibilityARIAGridCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityARIAGridCell.h; sourceTree = "<group>"; };
                BC06F24C06D18A7E004A6FA3 /* XSLTProcessor.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = XSLTProcessor.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
                BC06F24D06D18A7E004A6FA3 /* XSLTProcessorLibxslt.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XSLTProcessorLibxslt.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
                BC073BA90C399B1F000F5979 /* FloatConversion.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FloatConversion.h; sourceTree = "<group>"; };
-               BC0B358514C4F9830055E22A /* RunLoop.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RunLoop.cpp; sourceTree = "<group>"; };
-               BC0B358614C4F9830055E22A /* RunLoop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RunLoop.h; sourceTree = "<group>"; };
                BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Console.cpp; sourceTree = "<group>"; };
                BC0B36A20CD3C67C00AC7EB5 /* Console.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Console.h; sourceTree = "<group>"; };
                BC0B36A30CD3C67C00AC7EB5 /* Console.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Console.idl; sourceTree = "<group>"; };
                                E1A8E56517552B2A007488E7 /* CFURLExtras.h */,
                                5160306B0CC4362300C8AC25 /* FileSystemCF.cpp */,
                                1A98956A0AA78F80005EF5EF /* URLCF.cpp */,
-                               29A309AB1561C99B00BBD8E5 /* RunLoopCF.cpp */,
                                512DD8E20D91E2B4000F89EE /* SharedBufferCF.cpp */,
                        );
                        path = cf;
                                7E33CD00127F340D00BE8F17 /* PurgePriority.h */,
                                A72EA3BA1585CF55004FAA26 /* RefCountedSupplement.h */,
                                9831AE49154225A200FE2644 /* ReferrerPolicy.h */,
-                               BC0B358514C4F9830055E22A /* RunLoop.cpp */,
-                               BC0B358614C4F9830055E22A /* RunLoop.h */,
                                293EAE201356B32E0067ACF9 /* RuntimeApplicationChecks.cpp */,
                                293EAE1E1356B2FE0067ACF9 /* RuntimeApplicationChecks.h */,
                                5162C7F211F77EFA00612EFE /* SchemeRegistry.cpp */,
                                A73F95FF12C97BFE0031AAF9 /* RoundedRect.h in Headers */,
                                A79BADA2161E7F3F00C2E652 /* RuleFeature.h in Headers */,
                                A79BADA4161E7F3F00C2E652 /* RuleSet.h in Headers */,
-                               BC0B358814C4F9830055E22A /* RunLoop.h in Headers */,
                                1A569D1F0D7E2B82007C3983 /* runtime_array.h in Headers */,
                                1A569D210D7E2B82007C3983 /* runtime_method.h in Headers */,
                                1A569D230D7E2B82007C3983 /* runtime_object.h in Headers */,
                                A79BADA1161E7F3F00C2E652 /* RuleFeature.cpp in Sources */,
                                A79BADA3161E7F3F00C2E652 /* RuleSet.cpp in Sources */,
                                078E090217D14CEE00420AA1 /* MediaStreamTrack.cpp in Sources */,
-                               BC0B358714C4F9830055E22A /* RunLoop.cpp in Sources */,
-                               29A309AC1561C99B00BBD8E5 /* RunLoopCF.cpp in Sources */,
                                7C2BDD3D17C7F98C0038FF15 /* JSDOMGlobalObjectTask.cpp in Sources */,
                                1A569D1E0D7E2B82007C3983 /* runtime_array.cpp in Sources */,
                                1A569D200D7E2B82007C3983 /* runtime_method.cpp in Sources */,
index b456d4f..dd9af28 100644 (file)
@@ -30,7 +30,6 @@
 #include "GraphicsLayerTransform.h"
 #include "Image.h"
 #include "IntSize.h"
-#include "RunLoop.h"
 #include "TiledBackingStore.h"
 #include "TiledBackingStoreClient.h"
 #include "TransformationMatrix.h"
index 02505d0..07cd563 100644 (file)
@@ -30,7 +30,6 @@
 #include "GraphicsSurface.h"
 #include "IntRect.h"
 #include "IntSize.h"
-#include "RunLoop.h"
 #include "TextureMapper.h"
 #include "TextureMapperBackingStore.h"
 #include "TextureMapperFPSCounter.h"
index 38f1347..e112875 100644 (file)
@@ -73,9 +73,9 @@
 #import <assert.h>
 
 #import <WebCore/WebCoreObjCExtras.h>
-#import <WebCore/RunLoop.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 #import "WebKitLogging.h"
 #import "WebNSObjectExtras.h"
@@ -272,7 +272,7 @@ static OSStatus NSCarbonWindowHandleEvent(EventHandlerCallRef inEventHandlerCall
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index aca3a19..eb5aa2c 100644 (file)
@@ -1,3 +1,49 @@
+2013-11-09  Patrick Gansterer  <paroga@webkit.org>
+
+        Move RunLoop from WebCore to WTF
+        https://bugs.webkit.org/show_bug.cgi?id=116606
+
+        Reviewed by Anders Carlsson.
+
+        * Carbon/CarbonWindowAdapter.mm:
+        (+[CarbonWindowAdapter initialize]):
+        * History/WebBackForwardList.mm:
+        (+[WebBackForwardList initialize]):
+        * History/WebHistoryItem.mm:
+        (+[WebHistoryItem initialize]):
+        * Misc/WebCache.mm:
+        (+[WebCache initialize]):
+        * Misc/WebElementDictionary.mm:
+        (+[WebElementDictionary initialize]):
+        * Misc/WebIconDatabase.mm:
+        (+[WebIconDatabase initialize]):
+        * Plugins/Hosted/WebHostedNetscapePluginView.mm:
+        (+[WebHostedNetscapePluginView initialize]):
+        * Plugins/WebBaseNetscapePluginView.mm:
+        * Plugins/WebBasePluginPackage.mm:
+        * Plugins/WebNetscapePluginView.mm:
+        (+[WebNetscapePluginView initialize]):
+        * WebCoreSupport/WebEditorClient.mm:
+        (+[WebUndoStep initialize]):
+        * WebCoreSupport/WebFrameLoaderClient.mm:
+        * WebView/WebArchive.mm:
+        (+[WebArchivePrivate initialize]):
+        * WebView/WebDataSource.mm:
+        (+[WebDataSource initialize]):
+        * WebView/WebHTMLView.mm:
+        (+[WebHTMLViewPrivate initialize]):
+        (+[WebHTMLView initialize]):
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+        * WebView/WebResource.mm:
+        (+[WebResourcePrivate initialize]):
+        * WebView/WebTextIterator.mm:
+        (+[WebTextIteratorPrivate initialize]):
+        * WebView/WebView.mm:
+        (+[WebView initialize]):
+        * WebView/WebViewData.mm:
+        (+[WebViewPrivate initialize]):
+
 2013-11-08  Mark Lam  <mark.lam@apple.com>
 
         Move breakpoint (and exception break) functionality into JSC::Debugger.
index 66155db..4befe66 100644 (file)
@@ -42,7 +42,6 @@
 #import <WebCore/HistoryItem.h>
 #import <WebCore/Page.h>
 #import <WebCore/PageCache.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/Settings.h>
 #import <WebCore/ThreadCheck.h>
 #import <WebCore/WebCoreObjCExtras.h>
@@ -50,6 +49,7 @@
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 #import <wtf/StdLibExtras.h>
 
 using namespace WebCore;
@@ -105,7 +105,7 @@ WebBackForwardList *kit(BackForwardList* backForwardList)
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 579ff6c..550e6e1 100644 (file)
 #import <WebCore/Image.h>
 #import <WebCore/URL.h>
 #import <WebCore/PageCache.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/ThreadCheck.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 #import <wtf/StdLibExtras.h>
 #import <wtf/text/WTFString.h>
 
@@ -97,7 +97,7 @@ void WKNotifyHistoryItemChanged(HistoryItem*)
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 0cbed01..7651876 100644 (file)
@@ -33,9 +33,9 @@
 #import <WebCore/ApplicationCacheStorage.h>
 #import <WebCore/CrossOriginPreflightResultCache.h>
 #import <WebCore/MemoryCache.h>
-#import <WebCore/RunLoop.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 @implementation WebCache
 
@@ -43,7 +43,7 @@
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     InitWebCoreSystemInterface();   
 }
 
index 17f2201..9094a38 100644 (file)
 #import <WebCore/Frame.h>
 #import <WebCore/HitTestResult.h>
 #import <WebCore/Image.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebKit/DOMCore.h>
 #import <WebKit/DOMExtensions.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 
@@ -67,7 +67,7 @@ static void cacheValueForKey(const void *key, const void *value, void *self)
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 7f873ab..1e3991b 100644 (file)
 #import <WebCore/IconDatabase.h>
 #import <WebCore/Image.h>
 #import <WebCore/IntSize.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/ThreadCheck.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 
@@ -90,7 +90,7 @@ static WebIconDatabaseClient* defaultClient()
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
 }
 
 + (WebIconDatabase *)sharedIconDatabase
index 7e05b34..181ab70 100644 (file)
 #import <WebCore/RenderEmbeddedObject.h>
 #import <WebCore/ResourceError.h>
 #import <WebCore/WebCoreObjCExtras.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/runtime_root.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
 #import <wtf/ObjcRuntimeExtras.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 using namespace WebKit;
@@ -73,7 +73,7 @@ extern "C" {
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
     WKSendUserChangeNotifications();
 }
index abcc82b..14775b5 100644 (file)
 #import <WebCore/ProtectionSpace.h>
 #import <WebCore/RenderView.h>
 #import <WebCore/RenderWidget.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/SecurityOrigin.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebKit/DOMPrivate.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 #import <wtf/text/CString.h>
 
 #define LoginWindowDidSwitchFromUserNotification    @"WebLoginWindowDidSwitchFromUserNotification"
@@ -75,7 +75,7 @@ using namespace WebCore;
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
     WKSendUserChangeNotifications();
 }
index 5b07b98..240c498 100644 (file)
@@ -29,7 +29,6 @@
 #import <WebKit/WebBasePluginPackage.h>
 
 #import <algorithm>
-#import <WebCore/RunLoop.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebKit/WebKitNSStringExtras.h>
 #import <WebKit/WebNetscapePluginPackage.h>
@@ -38,6 +37,7 @@
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
 #import <wtf/ObjcRuntimeExtras.h>
+#import <wtf/RunLoop.h>
 #import <wtf/Vector.h>
 #import <wtf/text/CString.h>
 
@@ -68,7 +68,7 @@ using namespace WebCore;
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 7f4c88a..6d0f3dd 100644 (file)
@@ -67,7 +67,6 @@
 #import <WebCore/Page.h> 
 #import <WebCore/PluginMainThreadScheduler.h>
 #import <WebCore/ProxyServer.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/ScriptController.h>
 #import <WebCore/SecurityOrigin.h>
 #import <WebCore/SoftLinking.h> 
@@ -82,6 +81,7 @@
 #import <runtime/JSLock.h>
 #import <wtf/Assertions.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 #import <wtf/text/CString.h>
 
 #define LoginWindowDidSwitchFromUserNotification    @"WebLoginWindowDidSwitchFromUserNotification"
@@ -194,7 +194,7 @@ typedef struct {
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
     WKSendUserChangeNotifications();
 }
index e2cea0c..dc268e2 100644 (file)
@@ -61,7 +61,6 @@
 #import <WebCore/LegacyWebArchive.h>
 #import <WebCore/Page.h>
 #import <WebCore/PlatformKeyboardEvent.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/Settings.h>
 #import <WebCore/SpellChecker.h>
 #import <WebCore/StylePropertySet.h>
@@ -71,6 +70,7 @@
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
 #import <wtf/PassRefPtr.h>
+#import <wtf/RunLoop.h>
 #import <wtf/text/WTFString.h>
 
 using namespace WebCore;
@@ -107,7 +107,7 @@ static WebViewInsertAction kit(EditorInsertAction coreAction)
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index f8cb134..1875ac0 100644 (file)
 #import <WebCore/ResourceHandle.h>
 #import <WebCore/ResourceLoader.h>
 #import <WebCore/ResourceRequest.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/ScriptController.h>
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
 #import <wtf/PassRefPtr.h>
+#import <wtf/RunLoop.h>
 #import <wtf/text/WTFString.h>
 
 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
@@ -2009,7 +2009,7 @@ PassRefPtr<FrameNetworkingContext> WebFrameLoaderClient::createNetworkingContext
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 9890f8d..723316f 100644 (file)
 #import <JavaScriptCore/InitializeThreading.h>
 #import <WebCore/ArchiveResource.h>
 #import <WebCore/LegacyWebArchive.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/ThreadCheck.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 
@@ -69,7 +69,7 @@ static NSString * const WebSubframeArchivesKey = @"WebSubframeArchives";
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 0efb2ad..60298df 100644 (file)
@@ -54,7 +54,6 @@
 #import <WebCore/MIMETypeRegistry.h>
 #import <WebCore/ResourceBuffer.h>
 #import <WebCore/ResourceRequest.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebCore/WebCoreURLResponse.h>
@@ -65,6 +64,7 @@
 #import <wtf/MainThread.h>
 #import <wtf/RefPtr.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 
@@ -145,7 +145,7 @@ static inline void addTypesFromClass(NSMutableDictionary *allTypes, Class objCCl
     if (self == [WebDataSource class]) {
         JSC::initializeThreading();
         WTF::initializeMainThreadToProcessMainThread();
-        WebCore::RunLoop::initializeMainRunLoop();
+        RunLoop::initializeMainRunLoop();
         WebCoreObjCFinalizeOnMainThread(self);
     }
 }
index a2aef2a..486280e 100644 (file)
 #import <WebCore/RenderView.h>
 #import <WebCore/RenderWidget.h>
 #import <WebCore/ResourceBuffer.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/RuntimeApplicationChecks.h>
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/SimpleFontData.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
 #import <wtf/ObjcRuntimeExtras.h>
+#import <wtf/RunLoop.h>
 
 #if USE(ACCELERATED_COMPOSITING)
 #import <QuartzCore/QuartzCore.h>
@@ -564,7 +564,7 @@ static NSCellStateValue kit(TriState state)
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
     
     if (!oldSetCursorForMouseLocationIMP) {
@@ -2273,7 +2273,7 @@ static bool mouseEventIsPartOfClickOrDrag(NSEvent *event)
                              returnTypes:[[self class] _insertablePasteboardTypes]];
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 775c2f3..6f0e8c9 100644 (file)
 #import <WebCore/ApplicationCacheStorage.h>
 #import <WebCore/NetworkStorageSession.h>
 #import <WebCore/ResourceHandle.h>
-#import <WebCore/RunLoop.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 
@@ -306,7 +306,7 @@ public:
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
 
     NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
         @"Times",                       WebKitStandardFontPreferenceKey,
index a4ec353..ac2e0a6 100644 (file)
 #import <wtf/PassRefPtr.h>
 #import <WebCore/ArchiveResource.h>
 #import <WebCore/LegacyWebArchive.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/RuntimeApplicationChecks.h>
 #import <WebCore/TextEncoding.h>
 #import <WebCore/ThreadCheck.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebCore/WebCoreURLResponse.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 
@@ -68,7 +68,7 @@ static NSString * const WebResourceResponseKey =          @"WebResourceResponse"
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 9b1bd8f..e8914d9 100644 (file)
 #import "DOMNodeInternal.h"
 #import "DOMRangeInternal.h"
 #import "WebTypesInternal.h"
-#import <wtf/Vector.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/TextIterator.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
+#import <wtf/Vector.h>
 
 using namespace JSC;
 using namespace WebCore;
@@ -50,7 +50,7 @@ using namespace WebCore;
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 2953627..9490210 100644 (file)
 #import <WebCore/ResourceHandle.h>
 #import <WebCore/ResourceLoadScheduler.h>
 #import <WebCore/ResourceRequest.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/RuntimeApplicationChecks.h>
 #import <WebCore/RuntimeEnabledFeatures.h>
 #import <WebCore/SchemeRegistry.h>
 #import <wtf/ObjcRuntimeExtras.h>
 #import <wtf/RefCountedLeakCounter.h>
 #import <wtf/RefPtr.h>
+#import <wtf/RunLoop.h>
 #import <wtf/StdLibExtras.h>
 
 #if ENABLE(DASHBOARD_SUPPORT)
@@ -3361,7 +3361,7 @@ static Vector<String> toStringVector(NSArray* patterns)
     InitWebCoreSystemInterface();
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
 
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_applicationWillTerminate) name:NSApplicationWillTerminateNotification object:NSApp];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_cacheModelChangedNotification:) name:WebPreferencesCacheModelChangedInternalNotification object:nil];
index d71fd65..0343a9c 100644 (file)
 #import <WebCore/AlternativeTextUIController.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebCore/HistoryItem.h>
-#import <WebCore/RunLoop.h>
 #import <objc/objc-auto.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/MainThread.h>
+#import <wtf/RunLoop.h>
 
 BOOL applicationIsTerminating = NO;
 int pluginDatabaseClientCount = 0;
@@ -74,7 +74,7 @@ WebViewLayerFlushScheduler::WebViewLayerFlushScheduler(LayerFlushController* flu
 {
     JSC::initializeThreading();
     WTF::initializeMainThreadToProcessMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
     WebCoreObjCFinalizeOnMainThread(self);
 }
 
index 3405802..7e0102b 100644 (file)
@@ -1,3 +1,70 @@
+2013-11-09  Patrick Gansterer  <paroga@webkit.org>
+
+        Move RunLoop from WebCore to WTF
+        https://bugs.webkit.org/show_bug.cgi?id=116606
+
+        Reviewed by Anders Carlsson.
+
+        * DatabaseProcess/DatabaseProcess.cpp:
+        * DatabaseProcess/DatabaseToWebProcessConnection.cpp:
+        * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+        * NetworkProcess/NetworkProcess.cpp:
+        * NetworkProcess/NetworkProcess.h:
+        * NetworkProcess/NetworkResourceLoader.h:
+        * NetworkProcess/mac/DiskCacheMonitor.h:
+        * NetworkProcess/unix/NetworkProcessMainUnix.cpp:
+        * Platform/CoreIPC/Connection.cpp:
+        * Platform/CoreIPC/Connection.h:
+        * Platform/CoreIPC/mac/ConnectionMac.cpp:
+        * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
+        * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm:
+        * PluginProcess/PluginControllerProxy.h:
+        * PluginProcess/PluginProcess.cpp:
+        * PluginProcess/PluginProcess.h:
+        * PluginProcess/WebProcessConnection.cpp:
+        * PluginProcess/unix/PluginProcessMainUnix.cpp:
+        * Shared/ChildProcess.cpp:
+        * Shared/ChildProcess.h:
+        * Shared/ChildProcessProxy.cpp:
+        * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.h:
+        * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessEntryPoint.mm:
+        * Shared/Plugins/NPObjectProxy.cpp:
+        * Shared/WebKit2Initialize.cpp:
+        (WebKit::InitializeWebKit2):
+        * UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
+        * UIProcess/API/mac/FindIndicatorWindow.h:
+        * UIProcess/API/mac/WKPrintingView.mm:
+        * UIProcess/API/mac/WKView.mm:
+        * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:
+        * UIProcess/DrawingAreaProxyImpl.h:
+        * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+        * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
+        * UIProcess/Launcher/mac/ProcessLauncherMac.mm:
+        * UIProcess/Network/NetworkProcessProxy.cpp:
+        * UIProcess/Plugins/PluginProcessProxy.cpp:
+        * UIProcess/ResponsivenessTimer.cpp:
+        * UIProcess/ResponsivenessTimer.h:
+        * UIProcess/VisitedLinkProvider.h:
+        * UIProcess/WebContext.cpp:
+        * UIProcess/WebProcessProxy.cpp:
+        * WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
+        * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
+        * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm:
+        * WebProcess/Network/WebResourceLoadScheduler.h:
+        * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
+        * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+        * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
+        * WebProcess/Plugins/PluginView.h:
+        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
+        * WebProcess/WebPage/DrawingAreaImpl.h:
+        * WebProcess/WebPage/EventDispatcher.cpp:
+        * WebProcess/WebPage/PageOverlay.h:
+        * WebProcess/WebPage/WebPage.cpp:
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebProcess.cpp:
+        * WebProcess/efl/WebProcessMainEfl.cpp:
+        * WebProcess/gtk/WebProcessMainGtk.cpp:
+
 2013-11-08  Brady Eidson  <beidson@apple.com>
 
         Merge IDBDatabaseBackendInterface and IDBDatabaseBackendImpl
index 2297b94..a5c0842 100644 (file)
@@ -31,8 +31,6 @@
 
 #if ENABLE(DATABASE_PROCESS)
 
-using namespace WebCore;
-
 namespace WebKit {
 
 DatabaseProcess& DatabaseProcess::shared()
index 1e941fb..a6fe73a 100644 (file)
@@ -29,7 +29,7 @@
 #include "DatabaseProcessIDBDatabaseBackend.h"
 #include "DatabaseProcessIDBDatabaseBackendMessages.h"
 #include "DatabaseToWebProcessConnectionMessages.h"
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(DATABASE_PROCESS)
 
index 03af1c4..e007fd6 100644 (file)
@@ -39,7 +39,7 @@
 #include <WebCore/PlatformCookieJar.h>
 #include <WebCore/ResourceLoaderOptions.h>
 #include <WebCore/ResourceRequest.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(NETWORK_PROCESS)
 
index 4449e17..a3a60bd 100644 (file)
@@ -44,7 +44,7 @@
 #include "WebCookieManager.h"
 #include <WebCore/Logging.h>
 #include <WebCore/ResourceRequest.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/CString.h>
 
 #if USE(SECURITY_FRAMEWORK)
index 0128174..ca6f8fb 100644 (file)
 #include "NetworkResourceLoadScheduler.h"
 #include <wtf/Forward.h>
 
-namespace WebCore {
-    class RunLoop;
-}
-
 namespace WebKit {
 
 class AuthenticationManager;
index 8ca227a..327ae34 100644 (file)
@@ -35,8 +35,8 @@
 #include <WebCore/ResourceHandleClient.h>
 #include <WebCore/ResourceLoaderOptions.h>
 #include <WebCore/ResourceRequest.h>
-#include <WebCore/RunLoop.h>
 #include <wtf/MainThread.h>
+#include <wtf/RunLoop.h>
 
 typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef;
 
index c137995..49d0c0f 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "MessageSender.h"
 #include <WebCore/ResourceRequest.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef;
 
index d080b78..0b83a4a 100644 (file)
 #include "ProxyResolverSoup.h"
 #include "WKBase.h"
 #include "WebKit2Initialize.h"
-#include <WebCore/RunLoop.h>
 #include <WebKit2/NetworkProcess.h>
 #include <error.h>
 #include <runtime/InitializeThreading.h>
 #include <stdlib.h>
 #include <wtf/MainThread.h>
+#include <wtf/RunLoop.h>
 #include <wtf/gobject/GRefPtr.h>
 
 #if PLATFORM(EFL)
index e291410..52f2bf2 100644 (file)
 #include "config.h"
 #include "Connection.h"
 
-#include <WebCore/RunLoop.h>
 #include <wtf/CurrentTime.h>
 #include <wtf/HashSet.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/WTFString.h>
 #include <wtf/threads/BinarySemaphore.h>
 
-using namespace WebCore;
-
 namespace CoreIPC {
 
 class Connection::SyncMessageState : public ThreadSafeRefCounted<Connection::SyncMessageState> {
index 7f073bf..14538c5 100644 (file)
@@ -49,7 +49,7 @@
 #include "PlatformProcessIdentifier.h"
 #endif
 
-namespace WebCore {
+namespace WTF {
 class RunLoop;
 }
 
@@ -117,8 +117,8 @@ public:
     static bool identifierIsNull(Identifier identifier) { return !identifier; }
 #endif
 
-    static PassRefPtr<Connection> createServerConnection(Identifier, Client*, WebCore::RunLoop* clientRunLoop);
-    static PassRefPtr<Connection> createClientConnection(Identifier, Client*, WebCore::RunLoop* clientRunLoop);
+    static PassRefPtr<Connection> createServerConnection(Identifier, Client*, WTF::RunLoop* clientRunLoop);
+    static PassRefPtr<Connection> createClientConnection(Identifier, Client*, WTF::RunLoop* clientRunLoop);
     ~Connection();
 
     Client* client() const { return m_client; }
@@ -167,7 +167,7 @@ public:
     bool inSendSync() const { return m_inSendSyncCount; }
 
 private:
-    Connection(Identifier, bool isServer, Client*, WebCore::RunLoop* clientRunLoop);
+    Connection(Identifier, bool isServer, Client*, WTF::RunLoop* clientRunLoop);
     void platformInitialize(Identifier);
     void platformInvalidate();
     
@@ -213,7 +213,7 @@ private:
 
     bool m_isConnected;
     RefPtr<WorkQueue> m_connectionQueue;
-    WebCore::RunLoop* m_clientRunLoop;
+    WTF::RunLoop* m_clientRunLoop;
 
     HashMap<StringReference, std::pair<RefPtr<WorkQueue>, RefPtr<WorkQueueMessageReceiver>>> m_workQueueMessageReceivers;
 
index 27bc2cc..11c8f1f 100644 (file)
 #include "ImportanceAssertion.h"
 #include "MachPort.h"
 #include "MachUtilities.h"
-#include <WebCore/RunLoop.h>
 #include <mach/mach_error.h>
 #include <mach/vm_map.h>
+#include <wtf/RunLoop.h>
 #include <xpc/xpc.h>
 
-using namespace WebCore;
-
 namespace CoreIPC {
 
 static const size_t inlineMessageMaxSize = 4096;
index a871f12..eababdd 100644 (file)
@@ -32,7 +32,7 @@
 #import "NetscapePluginModule.h"
 #import "PluginProcess.h"
 #import "WKBase.h"
-#import <WebCore/RunLoop.h>
+#import <wtf/RunLoop.h>
 
 #if USE(APPKIT)
 @interface NSApplication (WebNSApplicationDetails)
index 0c4bdd3..07822e6 100644 (file)
@@ -29,7 +29,7 @@
 #import "PluginProcess.h"
 #import "WKBase.h"
 #import "XPCServiceEntryPoint.h"
-#import <WebCore/RunLoop.h>
+#import <wtf/RunLoop.h>
 
 namespace WebKit {
 
@@ -59,7 +59,6 @@ public:
 
 } // namespace WebKit
 
-using namespace WebCore;
 using namespace WebKit;
 
 extern "C" WK_EXPORT void PluginServiceInitializer(xpc_connection_t connection, xpc_object_t initializerMessage);
index ce4ef16..e87c7a7 100644 (file)
@@ -34,9 +34,9 @@
 #include "PluginControllerProxyMessages.h"
 #include "ShareableBitmap.h"
 #include "WebProcessConnectionMessages.h"
-#include <WebCore/RunLoop.h>
 #include <WebCore/SecurityOrigin.h>
 #include <wtf/Noncopyable.h>
+#include <wtf/RunLoop.h>
 
 namespace CoreIPC {
     class DataReference;
@@ -183,14 +183,14 @@ private:
     WebCore::IntRect m_dirtyRect;
 
     // The paint timer, used for coalescing painting.
-    WebCore::RunLoop::Timer<PluginControllerProxy> m_paintTimer;
+    RunLoop::Timer<PluginControllerProxy> m_paintTimer;
     
     // A counter used to prevent the plug-in from being destroyed.
     unsigned m_pluginDestructionProtectCount;
 
     // A timer that we use to prevent destruction of the plug-in while plug-in
     // code is on the stack.
-    WebCore::RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer;
+    RunLoop::Timer<PluginControllerProxy> m_pluginDestroyTimer;
 
     // Whether we're waiting for the plug-in proxy in the web process to draw the contents of its
     // backing store into the web process backing store.
index 36d1fc4..8feb9ff 100644 (file)
@@ -38,7 +38,7 @@
 #include "WebProcessConnection.h"
 #include <WebCore/MemoryPressureHandler.h>
 #include <WebCore/NotImplemented.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if PLATFORM(MAC)
 #include <crt_externs.h>
index 7a20ed0..16f3238 100644 (file)
@@ -109,7 +109,7 @@ private:
     
     bool m_supportsAsynchronousPluginInitialization;
 
-    WebCore::RunLoop::Timer<PluginProcess> m_minimumLifetimeTimer;
+    RunLoop::Timer<PluginProcess> m_minimumLifetimeTimer;
 
 #if USE(ACCELERATED_COMPOSITING) && PLATFORM(MAC)
     // The Mach port used for accelerated compositing.
index c71c1d4..3a4d15a 100644 (file)
@@ -39,8 +39,8 @@
 #include "PluginProcessConnectionMessages.h"
 #include "PluginProxyMessages.h"
 #include "WebProcessConnectionMessages.h"
-#include <WebCore/RunLoop.h>
 #include <unistd.h>
+#include <wtf/RunLoop.h>
 
 using namespace WebCore;
 
index 0a56461..067d5d0 100644 (file)
@@ -34,7 +34,7 @@
 #include "NetscapePlugin.h"
 #include "PluginProcess.h"
 #include "WebKit2Initialize.h"
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 #if PLATFORM(GTK)
 #include <gtk/gtk.h>
 #if PLATFORM(X11) && defined(GDK_WINDOWING_X11)
index b2233a3..8e0db8b 100644 (file)
@@ -29,8 +29,6 @@
 #include "SandboxInitializationParameters.h"
 #include <unistd.h>
 
-using namespace WebCore;
-
 namespace WebKit {
 
 ChildProcess::ChildProcess()
index ba72262..364f83e 100644 (file)
@@ -29,9 +29,9 @@
 #include "Connection.h"
 #include "MessageReceiverMap.h"
 #include "MessageSender.h"
-#include <WebCore/RunLoop.h>
 #include <wtf/HashMap.h>
 #include <wtf/RetainPtr.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/StringHash.h>
 #include <wtf/text/WTFString.h>
 
@@ -114,7 +114,7 @@ private:
     // after a given period of time.
     unsigned m_terminationCounter;
 
-    WebCore::RunLoop::Timer<ChildProcess> m_terminationTimer;
+    RunLoop::Timer<ChildProcess> m_terminationTimer;
 
     RefPtr<CoreIPC::Connection> m_connection;
     CoreIPC::MessageReceiverMap m_messageReceiverMap;
@@ -124,7 +124,7 @@ private:
     void setProcessSuppressionEnabledInternal(bool);
     size_t m_activeTaskCount;
     bool m_shouldSuspend;
-    WebCore::RunLoop::Timer<ChildProcess> m_suspensionHysteresisTimer;
+    RunLoop::Timer<ChildProcess> m_suspensionHysteresisTimer;
     RetainPtr<id> m_processSuppressionAssertion;
 #endif
 };
index e9baf91..11e0868 100644 (file)
@@ -26,9 +26,7 @@
 #include "config.h"
 #include "ChildProcessProxy.h"
 
-#include <WebCore/RunLoop.h>
-
-using namespace WebCore;
+#include <wtf/RunLoop.h>
 
 namespace WebKit {
 
index c4c8582..91e2976 100644 (file)
@@ -29,9 +29,9 @@
 #import "ChildProcess.h"
 #import "CommandLine.h"
 #import "WebKit2Initialize.h"
-#import <WebCore/RunLoop.h>
 #import <WebKitSystemInterface.h>
 #import <sysexits.h>
+#import <wtf/RunLoop.h>
 
 namespace WebKit {
 
index e74ca2c..a34f19d 100644 (file)
 #include "NPRemoteObjectMap.h"
 #include "NPRuntimeUtilities.h"
 #include "NPVariantData.h"
-#include <WebCore/RunLoop.h>
 #include <wtf/MainThread.h>
-
-using namespace WebCore;
+#include <wtf/RunLoop.h>
 
 namespace WebKit {
 
index c8882d8..fe9f5ae 100644 (file)
@@ -28,9 +28,9 @@
 
 #include "Logging.h"
 #include <WebCore/Logging.h>
-#include <WebCore/RunLoop.h>
 #include <runtime/InitializeThreading.h>
 #include <wtf/MainThread.h>
+#include <wtf/RunLoop.h>
 
 #if PLATFORM(MAC)
 #include "WebSystemInterface.h"
@@ -46,7 +46,7 @@ void InitializeWebKit2()
 
     JSC::initializeThreading();
     WTF::initializeMainThread();
-    WebCore::RunLoop::initializeMainRunLoop();
+    RunLoop::initializeMainRunLoop();
 
 #if !LOG_DISABLED
     WebCore::initializeLoggingChannelsIfNecessary();
index b53155f..67c8fd4 100644 (file)
@@ -27,8 +27,8 @@
 #include <WebCore/Image.h>
 #include <WebCore/IntSize.h>
 #include <WebCore/RefPtrCairo.h>
-#include <WebCore/RunLoop.h>
 #include <glib/gi18n-lib.h>
+#include <wtf/RunLoop.h>
 #include <wtf/gobject/GOwnPtr.h>
 #include <wtf/gobject/GRefPtr.h>
 #include <wtf/text/CString.h>
index 8e47801..6864b64 100644 (file)
 #define FindIndicatorWindow_h
 
 #import "WebKitSystemInterface.h"
-#import <WebCore/RunLoop.h>
 #import <wtf/Noncopyable.h>
 #import <wtf/RefPtr.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 
 @class WKFindIndicatorWindowAnimation;
 @class WKView;
@@ -66,7 +66,7 @@ private:
     WKWindowBounceAnimationContextRef m_bounceAnimationContext;
     RetainPtr<WKFindIndicatorWindowAnimation> m_bounceAnimation;
 
-    WebCore::RunLoop::Timer<FindIndicatorWindow> m_startFadeOutTimer;
+    RunLoop::Timer<FindIndicatorWindow> m_startFadeOutTimer;
     RetainPtr<WKFindIndicatorWindowAnimation> m_fadeOutAnimation;
 };
 
index 0ecb81c..6a92e47 100644 (file)
@@ -34,8 +34,8 @@
 #import "WebPageProxy.h"
 #import <PDFKit/PDFKit.h>
 #import <WebCore/GraphicsContext.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/WebCoreObjCExtras.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebKit;
 using namespace WebCore;
index 2fa1ac4..93cf0e1 100644 (file)
@@ -79,7 +79,6 @@
 #import <WebCore/PlatformEventFactoryMac.h>
 #import <WebCore/PlatformScreen.h>
 #import <WebCore/Region.h>
-#import <WebCore/RunLoop.h>
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/TextAlternativeWithRange.h>
 #import <WebCore/WebCoreNSStringExtras.h>
@@ -90,6 +89,7 @@
 #import <sys/stat.h>
 #import <wtf/RefPtr.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 
 /* API internals. */
 #import "WKBrowsingContextControllerInternal.h"
index 1c4c4dd..3b25fc1 100644 (file)
@@ -32,8 +32,8 @@
 #include "BackingStore.h"
 #include "DrawingAreaProxy.h"
 #include "LayerTreeContext.h"
-#include <WebCore/RunLoop.h>
 #include <wtf/OwnPtr.h>
+#include <wtf/RunLoop.h>
 
 namespace WebCore {
 class Region;
@@ -116,7 +116,7 @@ private:
     bool m_isBackingStoreDiscardable;
     std::unique_ptr<BackingStore> m_backingStore;
 
-    WebCore::RunLoop::Timer<CoordinatedDrawingAreaProxy> m_discardBackingStoreTimer;
+    RunLoop::Timer<CoordinatedDrawingAreaProxy> m_discardBackingStoreTimer;
 };
 
 } // namespace WebKit
index d310e57..43c9321 100644 (file)
@@ -29,8 +29,8 @@
 #include "BackingStore.h"
 #include "DrawingAreaProxy.h"
 #include "LayerTreeContext.h"
-#include <WebCore/RunLoop.h>
 #include <wtf/OwnPtr.h>
+#include <wtf/RunLoop.h>
 
 namespace WebCore {
 class Region;
@@ -109,7 +109,7 @@ private:
     bool m_isBackingStoreDiscardable;
     std::unique_ptr<BackingStore> m_backingStore;
 
-    WebCore::RunLoop::Timer<DrawingAreaProxyImpl> m_discardBackingStoreTimer;
+    RunLoop::Timer<DrawingAreaProxyImpl> m_discardBackingStoreTimer;
 };
 
 } // namespace WebKit
index 3bd1ea6..69e6b83 100644 (file)
@@ -27,8 +27,8 @@
 #include <WebCore/FileSystem.h>
 #include <WebCore/NetworkingContext.h>
 #include <WebCore/ResourceHandle.h>
-#include <WebCore/RunLoop.h>
 #include <sys/socket.h>
+#include <wtf/RunLoop.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/WTFString.h>
index 3169180..abe8204 100644 (file)
 #include <WebCore/FileSystem.h>
 #include <WebCore/NetworkingContext.h>
 #include <WebCore/ResourceHandle.h>
-#include <WebCore/RunLoop.h>
 #include <errno.h>
 #include <glib.h>
 #include <locale.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/WTFString.h>
 #include <wtf/gobject/GOwnPtr.h>
index d8c1223..5202e7c 100644 (file)
@@ -29,7 +29,6 @@
 #import "DynamicLinkerEnvironmentExtractor.h"
 #import "EnvironmentVariables.h"
 #import "WebKitSystemInterface.h"
-#import <WebCore/RunLoop.h>
 #import <crt_externs.h>
 #import <mach-o/dyld.h>
 #import <mach/machine.h>
 #import <sys/stat.h>
 #import <wtf/PassRefPtr.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 #import <wtf/Threading.h>
 #import <wtf/text/CString.h>
 #import <wtf/text/WTFString.h>
 #import <xpc/xpc.h>
 
-using namespace WebCore;
-
 // FIXME: We should be doing this another way.
 extern "C" kern_return_t bootstrap_register2(mach_port_t, name_t, mach_port_t, uint64_t);
 
index 0940db4..fdf6c79 100644 (file)
@@ -35,7 +35,7 @@
 #include "NetworkProcessMessages.h"
 #include "WebContext.h"
 #include "WebProcessMessages.h"
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if USE(SECURITY_FRAMEWORK)
 #include "SecItemShimProxy.h"
index 7ad172a..da637c4 100644 (file)
@@ -37,7 +37,7 @@
 #include "WebPluginSiteDataManager.h"
 #include "WebProcessProxy.h"
 #include <WebCore/NotImplemented.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if PLATFORM(MAC)
 #include "MachPort.h"
index 766ae0e..9739fa3 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "ResponsivenessTimer.h"
 
-using namespace WebCore;
-
 namespace WebKit {
 
 static const double responsivenessTimeout = 3;
index 8db2872..f75c0a9 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef ResponsivenessTimer_h
 #define ResponsivenessTimer_h
 
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 namespace WebKit {
 
@@ -56,7 +56,7 @@ private:
     ResponsivenessTimer::Client* m_client;
     bool m_isResponsive;
 
-    WebCore::RunLoop::Timer<ResponsivenessTimer> m_timer;
+    RunLoop::Timer<ResponsivenessTimer> m_timer;
 };
 
 } // namespace WebKit
index e0e5310..c0d4ec9 100644 (file)
@@ -28,9 +28,9 @@
 
 #include "VisitedLinkTable.h"
 #include <WebCore/LinkHash.h>
-#include <WebCore/RunLoop.h>
 #include <wtf/Forward.h>
 #include <wtf/HashSet.h>
+#include <wtf/RunLoop.h>
 
 namespace WebKit {
 
@@ -60,7 +60,7 @@ private:
     VisitedLinkTable m_table;
 
     HashSet<WebCore::LinkHash, WebCore::LinkHashHash> m_pendingVisitedLinks;
-    WebCore::RunLoop::Timer<VisitedLinkProvider> m_pendingVisitedLinksTimer;
+    RunLoop::Timer<VisitedLinkProvider> m_pendingVisitedLinksTimer;
 };
 
 } // namespace WebKit
index 5eef5cf..ed626ad 100644 (file)
 #include <WebCore/LinkHash.h>
 #include <WebCore/Logging.h>
 #include <WebCore/ResourceRequest.h>
-#include <WebCore/RunLoop.h>
 #include <runtime/InitializeThreading.h>
 #include <runtime/Operations.h>
 #include <wtf/CurrentTime.h>
 #include <wtf/MainThread.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(BATTERY_STATUS)
 #include "WebBatteryManagerProxy.h"
index 0c3cec0..be1bd74 100644 (file)
 #include "WebPluginSiteDataManager.h"
 #include "WebProcessMessages.h"
 #include "WebProcessProxyMessages.h"
-#include <WebCore/URL.h>
-#include <WebCore/RunLoop.h>
 #include <WebCore/SuddenTermination.h>
+#include <WebCore/URL.h>
 #include <stdio.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/WTFString.h>
 
index 0ea109b..44aa65f 100644 (file)
@@ -30,7 +30,7 @@
 #include "DatabaseToWebProcessConnectionMessages.h"
 #include "WebProcess.h"
 #include "WebProcessIDBDatabaseBackend.h"
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(INDEXED_DATABASE)
 
index 365cb36..f50dfb7 100644 (file)
 #import "StringUtilities.h"
 #import "WKBase.h"
 #import "WebProcess.h"
-#import <WebCore/RunLoop.h>
 #import <mach/mach_error.h>
 #import <servers/bootstrap.h>
 #import <spawn.h>
 #import <stdio.h>
 #import <wtf/RetainPtr.h>
+#import <wtf/RunLoop.h>
 #import <wtf/text/CString.h>
 #import <wtf/text/WTFString.h>
 
index 22c8ff5..cee751a 100644 (file)
@@ -29,7 +29,7 @@
 #import "WKBase.h"
 #import "WebProcess.h"
 #import "XPCServiceEntryPoint.h"
-#import <WebCore/RunLoop.h>
+#import <wtf/RunLoop.h>
 
 using namespace WebCore;
 using namespace WebKit;
index 7ee2a7e..26c2d81 100644 (file)
@@ -30,7 +30,7 @@
 #include <WebCore/ResourceLoadPriority.h>
 #include <WebCore/ResourceLoadScheduler.h>
 #include <WebCore/ResourceLoader.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(NETWORK_PROCESS)
 
@@ -68,7 +68,7 @@ private:
     void internallyFailedLoadTimerFired();
     
     HashSet<RefPtr<WebCore::ResourceLoader>> m_internallyFailedResourceLoaders;
-    WebCore::RunLoop::Timer<WebResourceLoadScheduler> m_internallyFailedLoadTimer;
+    RunLoop::Timer<WebResourceLoadScheduler> m_internallyFailedLoadTimer;
     
     HashMap<unsigned long, RefPtr<WebResourceLoader>> m_webResourceLoaders;
     
index e5178ad..fade41d 100644 (file)
 
 #if ENABLE(NETSCAPE_PLUGIN_API)
 
-#include <WebCore/RunLoop.h>
 #include <heap/Weak.h>
 #include <heap/WeakInlines.h>
 #include <wtf/Forward.h>
 #include <wtf/HashMap.h>
+#include <wtf/RunLoop.h>
 
 struct NPObject;
 typedef struct _NPVariant NPVariant;
@@ -98,7 +98,7 @@ private:
     HashMap<JSC::JSObject*, NPJSObject*> m_npJSObjects;
     HashMap<NPObject*, JSC::Weak<JSNPObject>> m_jsNPObjects;
     Vector<NPObject*> m_npObjectsToFinalize;
-    WebCore::RunLoop::Timer<NPRuntimeObjectMap> m_finalizationTimer;
+    RunLoop::Timer<NPRuntimeObjectMap> m_finalizationTimer;
 };
 
 } // namespace WebKit
index b649a20..29157f2 100644 (file)
@@ -33,8 +33,8 @@
 #include <WebCore/AffineTransform.h>
 #include <WebCore/GraphicsLayer.h>
 #include <WebCore/IntRect.h>
-#include <WebCore/RunLoop.h>
 #include <wtf/HashMap.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringHash.h>
 
@@ -330,7 +330,7 @@ private:
         bool m_repeat;
         TimerFunc m_timerFunc;
 
-        WebCore::RunLoop::Timer<Timer> m_timer;
+        RunLoop::Timer<Timer> m_timer;
     };
     typedef HashMap<unsigned, std::unique_ptr<Timer>> TimerMap;
     TimerMap m_timers;
@@ -377,7 +377,7 @@ private:
 
     // FIXME: It's a bit wasteful to have one null event timer per plug-in.
     // We should investigate having one per window.
-    WebCore::RunLoop::Timer<NetscapePlugin> m_nullEventTimer;
+    RunLoop::Timer<NetscapePlugin> m_nullEventTimer;
     NP_CGContext m_npCGContext;
 #endif
 #elif PLUGIN_ARCHITECTURE(WIN)
index b350186..ad82c7a 100644 (file)
 #if ENABLE(NETSCAPE_PLUGIN_API)
 
 #include <WebCore/FileSystem.h>
-#include <WebCore/RunLoop.h>
 #include <WebCore/npruntime_internal.h>
 #include <wtf/Forward.h>
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/CString.h>
 
 namespace WebCore {
@@ -105,7 +105,7 @@ private:
     CString m_mimeType;
     CString m_headers;
 
-    WebCore::RunLoop::Timer<NetscapePluginStream> m_deliveryDataTimer;
+    RunLoop::Timer<NetscapePluginStream> m_deliveryDataTimer;
     OwnPtr< Vector<uint8_t>> m_deliveryData;
     bool m_stopStreamWhenDoneDelivering;
 };
index 2d0433d..891e849 100644 (file)
@@ -36,9 +36,9 @@
 #include <WebCore/PluginViewBase.h>
 #include <WebCore/ResourceError.h>
 #include <WebCore/ResourceResponse.h>
-#include <WebCore/RunLoop.h>
 #include <WebCore/Timer.h>
 #include <wtf/Deque.h>
+#include <wtf/RunLoop.h>
 
 // FIXME: Eventually this should move to WebCore.
 
@@ -234,7 +234,7 @@ private:
 
     // Pending URLRequests that the plug-in has made.
     Deque<RefPtr<URLRequest>> m_pendingURLRequests;
-    WebCore::RunLoop::Timer<PluginView> m_pendingURLRequestsTimer;
+    RunLoop::Timer<PluginView> m_pendingURLRequestsTimer;
 
     // Pending frame loads that the plug-in has made.
     typedef HashMap<RefPtr<WebFrame>, RefPtr<URLRequest>> FrameLoadMap;
index 242d9dc..939626c 100644 (file)
@@ -32,7 +32,7 @@
 #include "DrawingArea.h"
 #include "LayerTreeHost.h"
 #include <WebCore/Region.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 namespace WebKit {
 
@@ -124,8 +124,8 @@ private:
     // won't paint until painting has resumed again.
     bool m_isPaintingSuspended;
 
-    WebCore::RunLoop::Timer<CoordinatedDrawingArea> m_displayTimer;
-    WebCore::RunLoop::Timer<CoordinatedDrawingArea> m_exitCompositingTimer;
+    RunLoop::Timer<CoordinatedDrawingArea> m_displayTimer;
+    RunLoop::Timer<CoordinatedDrawingArea> m_exitCompositingTimer;
 
     // The layer tree host that handles accelerated compositing.
     RefPtr<LayerTreeHost> m_layerTreeHost;
index 3e5a890..1b13ed0 100644 (file)
@@ -29,7 +29,7 @@
 #include "DrawingArea.h"
 #include "LayerTreeHost.h"
 #include <WebCore/Region.h>
-#include <WebCore/RunLoop.h>
+#include <wtf/RunLoop.h>
 
 namespace WebCore {
     class GraphicsContext;
@@ -127,8 +127,8 @@ private:
     bool m_isPaintingSuspended;
     bool m_alwaysUseCompositing;
 
-    WebCore::RunLoop::Timer<DrawingAreaImpl> m_displayTimer;
-    WebCore::RunLoop::Timer<DrawingAreaImpl> m_exitCompositingTimer;
+    RunLoop::Timer<DrawingAreaImpl> m_displayTimer;
+    RunLoop::Timer<DrawingAreaImpl> m_exitCompositingTimer;
 
     // The layer tree host that handles accelerated compositing.
     RefPtr<LayerTreeHost> m_layerTreeHost;
index 1c1e214..7201787 100644 (file)
@@ -33,8 +33,8 @@
 #include "WebPageProxyMessages.h"
 #include "WebProcess.h"
 #include <WebCore/Page.h>
-#include <WebCore/RunLoop.h>
 #include <wtf/MainThread.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(THREADED_SCROLLING)
 #include <WebCore/ScrollingCoordinator.h>
index 896f126..61c6818 100644 (file)
@@ -28,8 +28,8 @@
 
 #include "APIObject.h"
 #include "WKBase.h"
-#include <WebCore/RunLoop.h>
 #include <wtf/PassRefPtr.h>
+#include <wtf/RunLoop.h>
 
 namespace WebCore {
     class GraphicsContext;
@@ -90,7 +90,7 @@ private:
     Client* m_client;
     WebPage* m_webPage;
 
-    WebCore::RunLoop::Timer<PageOverlay> m_fadeAnimationTimer;
+    RunLoop::Timer<PageOverlay> m_fadeAnimationTimer;
     double m_fadeAnimationStartTime;
     double m_fadeAnimationDuration;
 
index cb0c153..d3fe05d 100644 (file)
 #include <WebCore/ResourceBuffer.h>
 #include <WebCore/ResourceRequest.h>
 #include <WebCore/ResourceResponse.h>
-#include <WebCore/RunLoop.h>
 #include <WebCore/RuntimeEnabledFeatures.h>
 #include <WebCore/SchemeRegistry.h>
 #include <WebCore/ScriptController.h>
 #include <runtime/JSCJSValue.h>
 #include <runtime/JSLock.h>
 #include <runtime/Operations.h>
+#include <wtf/RunLoop.h>
 
 #if ENABLE(MHTML)
 #include <WebCore/MHTMLArchive.h>
index 86c51a3..0d47bf6 100644 (file)
@@ -862,7 +862,7 @@ private:
     String m_primaryPlugInPageOrigin;
     String m_primaryPlugInOrigin;
     String m_primaryPlugInMimeType;
-    WebCore::RunLoop::Timer<WebPage> m_determinePrimarySnapshottedPlugInTimer;
+    RunLoop::Timer<WebPage> m_determinePrimarySnapshottedPlugInTimer;
 #endif
 
 #if PLATFORM(MAC)
@@ -901,8 +901,8 @@ private:
     RefPtr<PageBanner> m_headerBanner;
     RefPtr<PageBanner> m_footerBanner;
 
-    WebCore::RunLoop::Timer<WebPage> m_setCanStartMediaTimer;
-    WebCore::RunLoop::Timer<WebPage> m_sendDidUpdateViewStateTimer;
+    RunLoop::Timer<WebPage> m_setCanStartMediaTimer;
+    RunLoop::Timer<WebPage> m_sendDidUpdateViewStateTimer;
     bool m_mayStartMediaWhenInWindow;
 
     HashMap<uint64_t, RefPtr<WebUndoStep>> m_undoStepMap;
index c090f44..3444347 100644 (file)
@@ -74,7 +74,6 @@
 #include <WebCore/PageCache.h>
 #include <WebCore/PageGroup.h>
 #include <WebCore/ResourceHandle.h>
-#include <WebCore/RunLoop.h>
 #include <WebCore/SchemeRegistry.h>
 #include <WebCore/SecurityOrigin.h>
 #include <WebCore/Settings.h>
@@ -83,6 +82,7 @@
 #include <wtf/CurrentTime.h>
 #include <wtf/HashCountedSet.h>
 #include <wtf/PassRefPtr.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/StringHash.h>
 
 #if ENABLE(NETWORK_INFO)
index 5b3480d..4d249db 100644 (file)
 #include <WebCore/AuthenticationChallenge.h>
 #include <WebCore/NetworkingContext.h>
 #include <WebCore/ResourceHandle.h>
-#include <WebCore/RunLoop.h>
 #include <WebKit2/WebProcess.h>
 #include <libsoup/soup.h>
 #include <runtime/Operations.h>
 #include <unistd.h>
+#include <wtf/RunLoop.h>
 #include <wtf/text/CString.h>
 
 #ifdef HAVE_ECORE_X
index 54c8df3..b481ee3 100644 (file)
 #include <WebCore/AuthenticationChallenge.h>
 #include <WebCore/NetworkingContext.h>
 #include <WebCore/ResourceHandle.h>
-#include <WebCore/RunLoop.h>
 #include <WebKit2/WebProcess.h>
 #include <gtk/gtk.h>
 #include <libintl.h>
 #include <libsoup/soup.h>
 #include <unistd.h>
+#include <wtf/RunLoop.h>
 #include <wtf/gobject/GOwnPtr.h>
 #include <wtf/gobject/GRefPtr.h>