Remove inclusion of MainThread.h from Threading.h
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 31 Jul 2011 02:23:31 +0000 (02:23 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 31 Jul 2011 02:23:31 +0000 (02:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=65081

Reviewed by Darin Adler.

Source/JavaScriptCore:

Add missing and remove unneeded include statements for MainThread.

* wtf/CryptographicallyRandomNumber.cpp:
* wtf/Threading.h:
* wtf/ThreadingPthreads.cpp:
* wtf/text/StringStatics.cpp:

Source/WebCore:

Add missing include statements for MainThread.

* bindings/js/DOMWrapperWorld.cpp:
* bindings/js/JSDOMWindowBase.cpp:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateCallbackImplementation):
* bindings/v8/DOMDataStore.cpp:
* bindings/v8/DOMWrapperWorld.cpp:
* bindings/v8/V8Binding.cpp:
* bindings/v8/V8DOMMap.cpp:
* bindings/v8/V8DOMWrapper.h:
* dom/EventTarget.cpp:
* fileapi/LocalFileSystem.cpp:
* loader/CrossOriginPreflightResultCache.cpp:
* loader/ResourceLoadScheduler.cpp:
* loader/WorkerThreadableLoader.cpp:
* loader/appcache/ApplicationCacheGroup.cpp:
* page/DOMWindow.cpp:
* page/History.cpp:
* page/SecurityOrigin.cpp:
* page/mac/EventHandlerMac.mm:
* platform/MIMETypeRegistry.cpp:
* platform/ThreadGlobalData.cpp:
* platform/ThreadTimers.cpp:
* platform/TreeShared.h:
* platform/audio/HRTFDatabaseLoader.cpp:
* platform/graphics/Font.cpp:
* platform/graphics/FontFallbackList.h:
* platform/graphics/FontFastPath.cpp:
* platform/graphics/Image.cpp:
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
* platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
* platform/graphics/cg/ImageBufferCG.cpp:
* platform/graphics/chromium/LayerRendererChromium.cpp:
* platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp:
* platform/mac/LocalizedStringsMac.mm:
* platform/mac/SharedBufferMac.mm:
* platform/network/BlobResourceHandle.cpp:
* platform/network/cf/DNSCFNet.cpp:
* platform/network/cf/LoaderRunLoopCF.cpp:
* platform/text/LocalizedNumberICU.cpp:
* platform/text/TextEncodingRegistry.cpp:
* platform/text/mac/LocalizedNumberMac.mm:
* platform/win/LocalizedStringsWin.cpp:
* storage/LocalStorageThread.cpp:
* storage/StorageAreaImpl.cpp:
* storage/StorageAreaSync.cpp:
* storage/StorageNamespaceImpl.cpp:
* storage/StorageSyncManager.cpp:
* webaudio/AsyncAudioDecoder.cpp:
* webaudio/AudioBufferSourceNode.cpp:
* webaudio/AudioContext.h
* webaudio/AudioContext.cpp:
* webaudio/AudioNode.cpp:
* webaudio/ConvolverNode.cpp:
* webaudio/OfflineAudioDestinationNode.cpp:
* webaudio/RealtimeAnalyser.cpp:
* webaudio/WaveShaperNode.cpp:
* websockets/WorkerThreadableWebSocketChannel.cpp:
* workers/WorkerMessagingProxy.cpp:

Source/WebKit/chromium:

Add missing include statements for MainThread.

* src/WebKit.cpp:
* src/WebViewImpl.cpp:
* tests/CCThreadTest.cpp:

Source/WebKit/gtk:

Add missing include statements for MainThread.

* webkit/webkitglobals.cpp:

Source/WebKit/mac:

Add missing include statements for MainThread.

* Carbon/CarbonWindowAdapter.mm:
* History/WebBackForwardList.mm:
* History/WebHistoryItem.mm:
* Misc/WebElementDictionary.mm:
* Misc/WebIconDatabase.mm:
* Misc/WebLocalizableStrings.mm:
* Plugins/Hosted/WebHostedNetscapePluginView.mm:
* Plugins/WebBaseNetscapePluginView.mm:
* Plugins/WebBasePluginPackage.mm:
* Plugins/WebNetscapePluginView.mm:
* WebCoreSupport/WebEditorClient.mm:
* WebCoreSupport/WebFrameLoaderClient.mm:
* WebView/WebArchive.mm:
* WebView/WebDataSource.mm:
* WebView/WebHTMLView.mm:
* WebView/WebResource.mm:
* WebView/WebTextIterator.mm:
* WebView/WebView.mm:
* WebView/WebViewData.mm:

Source/WebKit/qt:

Add missing include statements for MainThread.

* Api/qwebpage.cpp:

Source/WebKit/win:

Add missing include statements for MainThread.

* WebKitClassFactory.cpp:
* WebView.cpp:

Source/WebKit/wx:

Add missing include statements for MainThread.

* WebView.cpp:

Source/WebKit2:

Add missing include statements for MainThread.

* PluginProcess/gtk/PluginProcessMainGtk.cpp:
* PluginProcess/mac/PluginProcessMainMac.mm:
* PluginProcess/qt/PluginProcessMainQt.cpp:
* UIProcess/API/mac/WKPrintingView.mm:
* UIProcess/Launcher/mac/ThreadLauncherMac.mm:
* UIProcess/Launcher/qt/ThreadLauncherQt.cpp:
* UIProcess/Launcher/win/ThreadLauncherWin.cpp:
* UIProcess/WebContext.cpp:
* WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
* WebProcess/efl/WebProcessMainEfl.cpp:
* WebProcess/gtk/WebProcessMainGtk.cpp:
* WebProcess/mac/KeychainItemShimMethods.mm:
* WebProcess/mac/WebProcessMainMac.mm:
* WebProcess/qt/WebProcessMainQt.cpp:
* WebProcess/win/WebProcessMainWin.cpp:

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

112 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp
Source/JavaScriptCore/wtf/Threading.h
Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
Source/JavaScriptCore/wtf/text/StringStatics.cpp
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/DOMWrapperWorld.cpp
Source/WebCore/bindings/js/JSDOMWindowBase.cpp
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
Source/WebCore/bindings/v8/DOMDataStore.cpp
Source/WebCore/bindings/v8/DOMWrapperWorld.cpp
Source/WebCore/bindings/v8/V8Binding.cpp
Source/WebCore/bindings/v8/V8DOMMap.cpp
Source/WebCore/bindings/v8/V8DOMWrapper.h
Source/WebCore/dom/EventTarget.cpp
Source/WebCore/fileapi/LocalFileSystem.cpp
Source/WebCore/loader/CrossOriginPreflightResultCache.cpp
Source/WebCore/loader/ResourceLoadScheduler.cpp
Source/WebCore/loader/WorkerThreadableLoader.cpp
Source/WebCore/loader/appcache/ApplicationCacheGroup.cpp
Source/WebCore/page/DOMWindow.cpp
Source/WebCore/page/History.cpp
Source/WebCore/page/SecurityOrigin.cpp
Source/WebCore/page/mac/EventHandlerMac.mm
Source/WebCore/platform/MIMETypeRegistry.cpp
Source/WebCore/platform/ThreadGlobalData.cpp
Source/WebCore/platform/ThreadTimers.cpp
Source/WebCore/platform/TreeShared.h
Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp
Source/WebCore/platform/graphics/Font.cpp
Source/WebCore/platform/graphics/FontFallbackList.h
Source/WebCore/platform/graphics/FontFastPath.cpp
Source/WebCore/platform/graphics/Image.cpp
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
Source/WebCore/platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp
Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp
Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp
Source/WebCore/platform/mac/LocalizedStringsMac.mm
Source/WebCore/platform/mac/SharedBufferMac.mm
Source/WebCore/platform/network/BlobResourceHandle.cpp
Source/WebCore/platform/network/cf/DNSCFNet.cpp
Source/WebCore/platform/network/cf/LoaderRunLoopCF.cpp
Source/WebCore/platform/text/LocalizedNumberICU.cpp
Source/WebCore/platform/text/TextEncodingRegistry.cpp
Source/WebCore/platform/text/mac/LocalizedNumberMac.mm
Source/WebCore/platform/win/LocalizedStringsWin.cpp
Source/WebCore/storage/LocalStorageThread.cpp
Source/WebCore/storage/StorageAreaImpl.cpp
Source/WebCore/storage/StorageAreaSync.cpp
Source/WebCore/storage/StorageNamespaceImpl.cpp
Source/WebCore/storage/StorageSyncManager.cpp
Source/WebCore/webaudio/AsyncAudioDecoder.cpp
Source/WebCore/webaudio/AudioBufferSourceNode.cpp
Source/WebCore/webaudio/AudioContext.cpp
Source/WebCore/webaudio/AudioContext.h
Source/WebCore/webaudio/AudioNode.cpp
Source/WebCore/webaudio/ConvolverNode.cpp
Source/WebCore/webaudio/OfflineAudioDestinationNode.cpp
Source/WebCore/webaudio/RealtimeAnalyser.cpp
Source/WebCore/webaudio/WaveShaperNode.cpp
Source/WebCore/websockets/WorkerThreadableWebSocketChannel.cpp
Source/WebCore/workers/WorkerMessagingProxy.cpp
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/WebKit.cpp
Source/WebKit/chromium/src/WebViewImpl.cpp
Source/WebKit/chromium/tests/CCThreadTest.cpp
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/webkit/webkitglobals.cpp
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/WebElementDictionary.mm
Source/WebKit/mac/Misc/WebIconDatabase.mm
Source/WebKit/mac/Misc/WebLocalizableStrings.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/WebResource.mm
Source/WebKit/mac/WebView/WebTextIterator.mm
Source/WebKit/mac/WebView/WebView.mm
Source/WebKit/mac/WebView/WebViewData.mm
Source/WebKit/qt/Api/qwebpage.cpp
Source/WebKit/qt/ChangeLog
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebKitClassFactory.cpp
Source/WebKit/win/WebView.cpp
Source/WebKit/wx/ChangeLog
Source/WebKit/wx/WebView.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/PluginProcess/gtk/PluginProcessMainGtk.cpp
Source/WebKit2/PluginProcess/mac/PluginProcessMainMac.mm
Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
Source/WebKit2/UIProcess/Launcher/mac/ThreadLauncherMac.mm
Source/WebKit2/UIProcess/Launcher/qt/ThreadLauncherQt.cpp
Source/WebKit2/UIProcess/Launcher/win/ThreadLauncherWin.cpp
Source/WebKit2/UIProcess/WebContext.cpp
Source/WebKit2/WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp
Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp
Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp
Source/WebKit2/WebProcess/mac/KeychainItemShimMethods.mm
Source/WebKit2/WebProcess/mac/WebProcessMainMac.mm
Source/WebKit2/WebProcess/qt/WebProcessMainQt.cpp
Source/WebKit2/WebProcess/win/WebProcessMainWin.cpp

index 499b905..c8d23dd 100644 (file)
@@ -1,3 +1,17 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing and remove unneeded include statements for MainThread.
+
+        * wtf/CryptographicallyRandomNumber.cpp:
+        * wtf/Threading.h:
+        * wtf/ThreadingPthreads.cpp:
+        * wtf/text/StringStatics.cpp:
+
 2011-07-30  Oliver Hunt  <oliver@apple.com>
 
         Reduce the size of JSGlobalObject slightly
index ad8e716..0232a04 100644 (file)
@@ -30,7 +30,6 @@
 #include "config.h"
 #include "CryptographicallyRandomNumber.h"
 
-#include "MainThread.h"
 #include "OSRandomSource.h"
 #include "StdLibExtras.h"
 #include "ThreadingPrimitives.h"
index b6f8c24..3a89757 100644 (file)
@@ -65,7 +65,6 @@
 #include <wtf/Assertions.h>
 #include <wtf/Atomics.h>
 #include <wtf/Locker.h>
-#include <wtf/MainThread.h>
 #include <wtf/Noncopyable.h>
 #include <wtf/ThreadSafeRefCounted.h>
 #include <wtf/ThreadingPrimitives.h>
index 28667f3..135cee3 100644 (file)
@@ -36,7 +36,6 @@
 #include "DateMath.h"
 #include "dtoa.h"
 #include "HashMap.h"
-#include "MainThread.h"
 #include "RandomNumberSeed.h"
 #include "StdLibExtras.h"
 #include "ThreadIdentifierDataPthreads.h"
index ce08728..472d7c8 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "AtomicString.h"
 #include "DynamicAnnotations.h"
+#include "MainThread.h"
 #include "StaticConstructors.h"
 #include "StringImpl.h"
 
index 042eee6..4d76aa9 100644 (file)
@@ -1,3 +1,71 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * bindings/js/DOMWrapperWorld.cpp:
+        * bindings/js/JSDOMWindowBase.cpp:
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateCallbackImplementation):
+        * bindings/v8/DOMDataStore.cpp:
+        * bindings/v8/DOMWrapperWorld.cpp:
+        * bindings/v8/V8Binding.cpp:
+        * bindings/v8/V8DOMMap.cpp:
+        * bindings/v8/V8DOMWrapper.h:
+        * dom/EventTarget.cpp:
+        * fileapi/LocalFileSystem.cpp:
+        * loader/CrossOriginPreflightResultCache.cpp:
+        * loader/ResourceLoadScheduler.cpp:
+        * loader/WorkerThreadableLoader.cpp:
+        * loader/appcache/ApplicationCacheGroup.cpp:
+        * page/DOMWindow.cpp:
+        * page/History.cpp:
+        * page/SecurityOrigin.cpp:
+        * page/mac/EventHandlerMac.mm:
+        * platform/MIMETypeRegistry.cpp:
+        * platform/ThreadGlobalData.cpp:
+        * platform/ThreadTimers.cpp:
+        * platform/TreeShared.h:
+        * platform/audio/HRTFDatabaseLoader.cpp:
+        * platform/graphics/Font.cpp:
+        * platform/graphics/FontFallbackList.h:
+        * platform/graphics/FontFastPath.cpp:
+        * platform/graphics/Image.cpp:
+        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+        * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
+        * platform/graphics/cg/ImageBufferCG.cpp:
+        * platform/graphics/chromium/LayerRendererChromium.cpp:
+        * platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp:
+        * platform/mac/LocalizedStringsMac.mm:
+        * platform/mac/SharedBufferMac.mm:
+        * platform/network/BlobResourceHandle.cpp:
+        * platform/network/cf/DNSCFNet.cpp:
+        * platform/network/cf/LoaderRunLoopCF.cpp:
+        * platform/text/LocalizedNumberICU.cpp:
+        * platform/text/TextEncodingRegistry.cpp:
+        * platform/text/mac/LocalizedNumberMac.mm:
+        * platform/win/LocalizedStringsWin.cpp:
+        * storage/LocalStorageThread.cpp:
+        * storage/StorageAreaImpl.cpp:
+        * storage/StorageAreaSync.cpp:
+        * storage/StorageNamespaceImpl.cpp:
+        * storage/StorageSyncManager.cpp:
+        * webaudio/AsyncAudioDecoder.cpp:
+        * webaudio/AudioBufferSourceNode.cpp:
+        * webaudio/AudioContext.h
+        * webaudio/AudioContext.cpp:
+        * webaudio/AudioNode.cpp:
+        * webaudio/ConvolverNode.cpp:
+        * webaudio/OfflineAudioDestinationNode.cpp:
+        * webaudio/RealtimeAnalyser.cpp:
+        * webaudio/WaveShaperNode.cpp:
+        * websockets/WorkerThreadableWebSocketChannel.cpp:
+        * workers/WorkerMessagingProxy.cpp:
+
 2011-07-30  Enrica Casucci  <enrica@apple.com>
 
         REGRESSION: culledInlineAbsoluteRects needs to translate a 0,0 point to absolute
index 5a3a56d..587b905 100644 (file)
@@ -24,6 +24,7 @@
 #include "JSDOMWindow.h"
 #include "ScriptController.h"
 #include "WebCoreJSClientData.h"
+#include <wtf/MainThread.h>
 
 using namespace JSC;
 
index e87f823..0409752 100644 (file)
@@ -35,7 +35,7 @@
 #include "SecurityOrigin.h"
 #include "Settings.h"
 #include "WebCoreJSClientData.h"
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 using namespace JSC;
 
index 3f9dc6c..d5300ac 100644 (file)
@@ -2401,7 +2401,6 @@ sub GenerateCallbackImplementation
 
     $implIncludes{"ScriptExecutionContext.h"} = 1;
     $implIncludes{"<runtime/JSLock.h>"} = 1;
-    $implIncludes{"<wtf/MainThread.h>"} = 1;
 
     @implContent = ();
 
index aa3b7ec..7b84e0a 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "DOMData.h"
 #include "V8Binding.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 1e9429f..6a9c6db 100644 (file)
@@ -31,8 +31,8 @@
 #include "config.h"
 #include "DOMWrapperWorld.h"
 
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
-#include <wtf/Threading.h>
 
 namespace WebCore {
 
index 117da7f..2673e31 100644 (file)
@@ -40,6 +40,7 @@
 #include "Threading.h"
 #include "V8Element.h"
 #include "V8Proxy.h"
+#include <wtf/MainThread.h>
 #include <wtf/text/AtomicString.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuffer.h>
index ef9a62c..cf12176 100644 (file)
@@ -35,6 +35,7 @@
 #include "DOMDataStore.h"
 #include "ScopedDOMDataStore.h"
 #include "V8Binding.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index be62149..eb22051 100644 (file)
@@ -43,6 +43,7 @@
 #include "WrapperTypeInfo.h"
 #include "XPathNSResolver.h"
 #include <v8.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index a28bdb1..c20b21c 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "Event.h"
 #include "EventException.h"
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/Vector.h>
 
index 955d723..8f0169e 100644 (file)
@@ -46,6 +46,7 @@
 #include "FileSystemCallbacks.h"
 #include "ScriptExecutionContext.h"
 #include "SecurityOrigin.h"
+#include <wtf/MainThread.h>
 #include <wtf/PassRefPtr.h>
 
 namespace WebCore {
index 18e4be2..711adf4 100644 (file)
@@ -30,8 +30,8 @@
 #include "CrossOriginAccessControl.h"
 #include "ResourceResponse.h"
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
-#include <wtf/Threading.h>
 
 namespace WebCore {
 
index 0acbe78..d9d45c8 100644 (file)
@@ -36,6 +36,7 @@
 #include "ResourceLoader.h"
 #include "ResourceRequest.h"
 #include "SubresourceLoader.h"
+#include <wtf/MainThread.h>
 #include <wtf/text/CString.h>
 
 #define REQUEST_MANAGEMENT_ENABLED 1
index 9e34f83..2fc1ee8 100644 (file)
@@ -44,8 +44,8 @@
 #include "WorkerContext.h"
 #include "WorkerLoaderProxy.h"
 #include "WorkerThread.h"
+#include <wtf/MainThread.h>
 #include <wtf/OwnPtr.h>
-#include <wtf/Threading.h>
 #include <wtf/Vector.h>
 
 using namespace std;
index 98d5ebf..dcfa524 100644 (file)
@@ -49,6 +49,7 @@
 #include "SecurityOrigin.h"
 #include "Settings.h"
 #include <wtf/HashMap.h>
+#include <wtf/MainThread.h>
 #include <wtf/UnusedParam.h>
 
 #if ENABLE(INSPECTOR)
index 2ab7f3b..6ca5b37 100644 (file)
@@ -94,6 +94,7 @@
 #include "WindowFeatures.h"
 #include <algorithm>
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 #include <wtf/MathExtras.h>
 #include <wtf/text/WTFString.h>
 
index 4dc195f..cbfc2bb 100644 (file)
@@ -36,6 +36,7 @@
 #include "Page.h"
 #include "SecurityOrigin.h"
 #include "SerializedScriptValue.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 0fab323..7f91653 100644 (file)
@@ -35,6 +35,7 @@
 #include "KURL.h"
 #include "OriginAccessEntry.h"
 #include "SchemeRegistry.h"
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 
 namespace WebCore {
index 3660d30..736deaf 100644 (file)
@@ -49,6 +49,7 @@
 #include "Settings.h"
 #include "WebCoreSystemInterface.h"
 #include <objc/objc-runtime.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 
 #if !(defined(OBJC_API_VERSION) && OBJC_API_VERSION > 0)
index abddd1b..d209861 100644 (file)
@@ -30,6 +30,7 @@
 #include "MediaPlayer.h"
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringHash.h>
 
index 90933b9..195db7c 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "EventNames.h"
 #include "ThreadTimers.h"
+#include <wtf/MainThread.h>
 #include <wtf/UnusedParam.h>
 #include <wtf/WTFThreadData.h>
 #include <wtf/text/StringImpl.h>
index fbe66cc..998dc32 100644 (file)
@@ -31,6 +31,7 @@
 #include "ThreadGlobalData.h"
 #include "Timer.h"
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 
 using namespace std;
 
index 2888ebf..92fc96c 100644 (file)
@@ -22,8 +22,8 @@
 #define TreeShared_h
 
 #include <wtf/Assertions.h>
+#include <wtf/MainThread.h>
 #include <wtf/Noncopyable.h>
-#include <wtf/Threading.h>
 
 namespace WebCore {
 
index 9e12250..198f7cd 100644 (file)
@@ -33,6 +33,7 @@
 #include "HRTFDatabaseLoader.h"
 
 #include "HRTFDatabase.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 0bb606c..724765a 100644 (file)
@@ -34,6 +34,7 @@
 #include "GlyphBuffer.h"
 #include "TextRun.h"
 #include "WidthIterator.h"
+#include <wtf/MainThread.h>
 #include <wtf/MathExtras.h>
 #include <wtf/UnusedParam.h>
 
index 0159b8f..9ccfa5a 100644 (file)
@@ -24,6 +24,7 @@
 #include "FontSelector.h"
 #include "SimpleFontData.h"
 #include <wtf/Forward.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 7cf265c..e526242 100644 (file)
@@ -31,6 +31,7 @@
 #include "SimpleFontData.h"
 #include "TextRun.h"
 #include "WidthIterator.h"
+#include <wtf/MainThread.h>
 #include <wtf/MathExtras.h>
 #include <wtf/unicode/CharacterNames.h>
 #include <wtf/unicode/Unicode.h>
index a712e7f..48cadd3 100644 (file)
@@ -34,6 +34,7 @@
 #include "MIMETypeRegistry.h"
 #include "SharedBuffer.h"
 #include <math.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 
 #if USE(CG)
index 3d1fdcb..1eaf9a8 100644 (file)
@@ -39,6 +39,7 @@
 #include "SoftLinking.h"
 #include "TimeRanges.h"
 #include <CoreMedia/CoreMedia.h>
+#include <wtf/MainThread.h>
 #include <wtf/UnusedParam.h>
 
 using namespace std;
index c4c3374..f3cf39e 100644 (file)
@@ -31,7 +31,7 @@
 #include "PlatformCALayer.h"
 #include "SoftLinking.h"
 #include <wtf/CurrentTime.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 typedef struct _CACFLayer* CACFLayerRef;
 
index e3fde63..4893b04 100644 (file)
 #include "ImageData.h"
 #include "MIMETypeRegistry.h"
 #include <ApplicationServices/ApplicationServices.h>
+#include <math.h>
 #include <wtf/Assertions.h>
-#include <wtf/text/WTFString.h>
+#include <wtf/MainThread.h>
 #include <wtf/OwnArrayPtr.h>
 #include <wtf/RetainPtr.h>
-#include <wtf/Threading.h>
 #include <wtf/UnusedParam.h>
-#include <math.h>
+#include <wtf/text/WTFString.h>
 
 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)
 #include "WebCoreSystemInterface.h"
index e47d5d8..395fec6 100644 (file)
@@ -61,6 +61,7 @@
 #include <CoreGraphics/CGBitmapContext.h>
 #endif
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index cafe901..68a251a 100644 (file)
@@ -30,7 +30,7 @@
 #include "cc/CCLayerTreeHost.h"
 #include "cc/CCMainThreadTask.h"
 #include "cc/CCThreadTask.h"
-
+#include <wtf/MainThread.h>
 
 using namespace WTF;
 
index 2dc44e9..b34fa40 100644 (file)
@@ -27,8 +27,8 @@
 #import "LocalizedStrings.h"
 
 #import <wtf/Assertions.h>
+#import <wtf/MainThread.h>
 #import <wtf/RetainPtr.h>
-#import <wtf/Threading.h>
 #import <wtf/text/WTFString.h>
 
 namespace WebCore {
index eb5cf2c..6933c45 100644 (file)
@@ -29,6 +29,7 @@
 #include "WebCoreObjCExtras.h"
 #include <runtime/InitializeThreading.h>
 #include <string.h>
+#include <wtf/MainThread.h>
 #include <wtf/PassRefPtr.h>
 
 
index bb4749b..e739d9c 100644 (file)
@@ -44,6 +44,7 @@
 #include "ResourceLoader.h"
 #include "ResourceRequest.h"
 #include "ResourceResponse.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 881e392..ae1a319 100644 (file)
@@ -30,6 +30,7 @@
 #include "KURL.h"
 #include "Timer.h"
 #include <wtf/HashSet.h>
+#include <wtf/MainThread.h>
 #include <wtf/RetainPtr.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringHash.h>
index d66accd..aa99df3 100644 (file)
@@ -31,6 +31,7 @@
 #include "AutodrainedPool.h"
 #include <CoreFoundation/CoreFoundation.h>
 #include <limits>
+#include <wtf/MainThread.h>
 #include <wtf/Threading.h>
 
 namespace WebCore {
index 57eb2f5..dc226df 100644 (file)
@@ -34,6 +34,7 @@
 #include <limits>
 #include <unicode/numfmt.h>
 #include <unicode/parsepos.h>
+#include <wtf/MainThread.h>
 #include <wtf/MathExtras.h>
 #include <wtf/PassOwnPtr.h>
 
index d6450b1..e45764d 100644 (file)
@@ -35,9 +35,9 @@
 #include <wtf/ASCIICType.h>
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/StringExtras.h>
-#include <wtf/Threading.h>
 
 #if USE(ICU_UNICODE)
 #include "TextCodecICU.h"
index 12ad323..ac6e709 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LocalizedNumber.h"
+#import "config.h"
+#import "LocalizedNumber.h"
 
-#include <limits>
 #import <Foundation/NSNumberFormatter.h>
-#include <wtf/RetainPtr.h>
-#include <wtf/text/CString.h>
+#import <limits>
+#import <wtf/MainThread.h>
+#import <wtf/RetainPtr.h>
+#import <wtf/text/CString.h>
 
 using namespace std;
 
index c079441..019baed 100644 (file)
@@ -28,8 +28,8 @@
 
 #include "WebCoreInstanceHandle.h"
 #include <wtf/Assertions.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
-#include <wtf/Threading.h>
 #include <wtf/text/WTFString.h>
 
 #if USE(CF)
index cbb81c5..6242b5f 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "LocalStorageTask.h"
 #include "StorageAreaSync.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 9c1e81e..9a3ceff 100644 (file)
@@ -38,6 +38,7 @@
 #include "StorageMap.h"
 #include "StorageSyncManager.h"
 #include "StorageTracker.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 48a226b..3b8e094 100644 (file)
@@ -39,6 +39,7 @@
 #include "StorageSyncManager.h"
 #include "StorageTracker.h"
 #include "SuddenTermination.h"
+#include <wtf/MainThread.h>
 #include <wtf/text/CString.h>
 
 namespace WebCore {
index d512975..9665485 100644 (file)
@@ -33,6 +33,7 @@
 #include "StorageMap.h"
 #include "StorageSyncManager.h"
 #include "StorageTracker.h"
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringHash.h>
 
index be08d43..00ca7d2 100644 (file)
@@ -37,8 +37,9 @@
 #include "Page.h"
 #include "PageGroup.h"
 #include "StorageAreaSync.h"
-#include <wtf/text/CString.h>
+#include <wtf/MainThread.h>
 #include <wtf/StdLibExtras.h>
+#include <wtf/text/CString.h>
 
 namespace WebCore {
 
index 246df72..a9a8902 100644 (file)
@@ -31,6 +31,7 @@
 #include "ArrayBuffer.h"
 #include "AudioBuffer.h"
 #include "AudioBufferCallback.h"
+#include <wtf/MainThread.h>
 #include <wtf/OwnPtr.h>
 #include <wtf/PassOwnPtr.h>
 
index 4268a64..bf6c424 100644 (file)
@@ -33,6 +33,7 @@
 #include "Document.h"
 #include "ScriptCallStack.h"
 #include <algorithm>
+#include <wtf/MainThread.h>
 #include <wtf/MathExtras.h>
 
 using namespace std;
index 567149f..1a952b0 100644 (file)
@@ -63,6 +63,7 @@
 #include <stdio.h>
 #endif
 
+#include <wtf/MainThread.h>
 #include <wtf/OwnPtr.h>
 #include <wtf/PassOwnPtr.h>
 #include <wtf/RefCounted.h>
index d7bb9f4..a93e8aa 100644 (file)
@@ -33,6 +33,7 @@
 #include "EventTarget.h"
 #include "HRTFDatabaseLoader.h"
 #include <wtf/HashSet.h>
+#include <wtf/MainThread.h>
 #include <wtf/OwnPtr.h>
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
index 6fb39b8..255a8a2 100644 (file)
@@ -32,6 +32,7 @@
 #include "AudioNodeInput.h"
 #include "AudioNodeOutput.h"
 #include <wtf/Atomics.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index b79872c..2651a55 100644 (file)
@@ -33,6 +33,7 @@
 #include "AudioNodeInput.h"
 #include "AudioNodeOutput.h"
 #include "Reverb.h"
+#include <wtf/MainThread.h>
 
 // Note about empirical tuning:
 // The maximum FFT size affects reverb performance and accuracy.
index e3a0758..4bfda7b 100644 (file)
@@ -32,7 +32,7 @@
 #include "AudioContext.h"
 #include "HRTFDatabaseLoader.h"
 #include <algorithm>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 using namespace std;
  
index 7265786..38729ff 100644 (file)
@@ -37,8 +37,8 @@
 #include <algorithm>
 #include <limits.h>
 #include <wtf/Complex.h>
+#include <wtf/MainThread.h>
 #include <wtf/MathExtras.h>
-#include <wtf/Threading.h>
 
 using namespace std;
 
index 637ec75..09d6aad 100644 (file)
@@ -27,6 +27,7 @@
 #if ENABLE(WEB_AUDIO)
 
 #include "WaveShaperNode.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index f5834eb..f2bb35e 100644 (file)
@@ -44,7 +44,7 @@
 #include "WorkerLoaderProxy.h"
 #include "WorkerRunLoop.h"
 #include "WorkerThread.h"
-
+#include <wtf/MainThread.h>
 #include <wtf/PassRefPtr.h>
 
 namespace WebCore {
index f6998db..0a6f8cb 100644 (file)
@@ -42,6 +42,7 @@
 #include "ScriptCallStack.h"
 #include "ScriptExecutionContext.h"
 #include "Worker.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index cd125f4..516e588 100644 (file)
@@ -1,3 +1,16 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * src/WebKit.cpp:
+        * src/WebViewImpl.cpp:
+        * tests/CCThreadTest.cpp:
+
 2011-07-29  Zhenyao Mo  <zmo@google.com>
 
         Unreviewed, rolling out r92011.
index caa0e67..9bd5cc9 100644 (file)
@@ -44,6 +44,7 @@
 #include "v8.h"
 
 #include <wtf/Assertions.h>
+#include <wtf/MainThread.h>
 #include <wtf/Threading.h>
 #include <wtf/text/AtomicString.h>
 
index 118b5d5..07fc55e 100644 (file)
 #include "cc/CCHeadsUpDisplay.h"
 #include <wtf/ByteArray.h>
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 #include <wtf/RefPtr.h>
 
 #if USE(CG)
index e0218ce..eccc712 100644 (file)
@@ -31,6 +31,7 @@
 #include "cc/CCThreadTask.h"
 #include <gtest/gtest.h>
 #include <webkit/support/webkit_support.h>
+#include <wtf/MainThread.h>
 
 using namespace WebCore;
 
index a6686fe..59ef3bb 100644 (file)
@@ -1,3 +1,14 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * webkit/webkitglobals.cpp:
+
 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
 
         Add support for download='filename' attribute in anchors.
index 0eb44cc..39befb3 100644 (file)
@@ -50,7 +50,7 @@
 #include <libintl.h>
 #include <runtime/InitializeThreading.h>
 #include <stdlib.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 static WebKitCacheModel cacheModel = WEBKIT_CACHE_MODEL_DEFAULT;
 
index 01e095c..5b036fd 100644 (file)
@@ -74,7 +74,7 @@
 
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 #import "WebKitLogging.h"
 #import "WebNSObjectExtras.h"
index e0f0981..f65cde2 100644 (file)
@@ -1,3 +1,32 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * Carbon/CarbonWindowAdapter.mm:
+        * History/WebBackForwardList.mm:
+        * History/WebHistoryItem.mm:
+        * Misc/WebElementDictionary.mm:
+        * Misc/WebIconDatabase.mm:
+        * Misc/WebLocalizableStrings.mm:
+        * Plugins/Hosted/WebHostedNetscapePluginView.mm:
+        * Plugins/WebBaseNetscapePluginView.mm:
+        * Plugins/WebBasePluginPackage.mm:
+        * Plugins/WebNetscapePluginView.mm:
+        * WebCoreSupport/WebEditorClient.mm:
+        * WebCoreSupport/WebFrameLoaderClient.mm:
+        * WebView/WebArchive.mm:
+        * WebView/WebDataSource.mm:
+        * WebView/WebHTMLView.mm:
+        * WebView/WebResource.mm:
+        * WebView/WebTextIterator.mm:
+        * WebView/WebView.mm:
+        * WebView/WebViewData.mm:
+
 2011-07-28  Dan Bernstein  <mitz@apple.com>
 
         <rdar://problem/9589433> Displaying Japanese dictionary contents in vertical orientation takes a couple of seconds
index 2248985..8266b91 100644 (file)
@@ -47,9 +47,9 @@
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
+#import <wtf/MainThread.h>
 #import <wtf/RetainPtr.h>
 #import <wtf/StdLibExtras.h>
-#import <wtf/Threading.h>
 
 using namespace WebCore;
 
index d06aab5..1283514 100644 (file)
@@ -52,8 +52,8 @@
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
+#import <wtf/MainThread.h>
 #import <wtf/StdLibExtras.h>
-#import <wtf/Threading.h>
 
 // Private keys used in the WebHistoryItem's dictionary representation.
 // see 3245793 for explanation of "lastVisitedDate"
index 5bdae4b..162fb42 100644 (file)
@@ -43,7 +43,7 @@
 #import <WebKit/DOMCore.h>
 #import <WebKit/DOMExtensions.h>
 #import <runtime/InitializeThreading.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace WebCore;
 
index e97ebc2..65c8c1f 100644 (file)
@@ -43,7 +43,7 @@
 #import <WebCore/SharedBuffer.h>
 #import <WebCore/ThreadCheck.h>
 #import <runtime/InitializeThreading.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace WebCore;
 
index 4006bb7..506cb5c 100644 (file)
@@ -29,7 +29,7 @@
 #import <WebKit/WebLocalizableStrings.h>
 
 #import <wtf/Assertions.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 WebLocalizableStringsBundle WebKitLocalizableStringsBundle = { "com.apple.WebKit", 0 };
 
index 0891b5d..28b3456 100644 (file)
@@ -49,7 +49,7 @@
 #import <WebCore/runtime_root.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace WebCore;
 using namespace WebKit;
index 2d3f695..b3e82d1 100644 (file)
@@ -61,7 +61,7 @@
 #import <WebKit/DOMPrivate.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 #import <wtf/text/CString.h>
 
 #define LoginWindowDidSwitchFromUserNotification    @"WebLoginWindowDidSwitchFromUserNotification"
index 08cce94..57121ad 100644 (file)
@@ -36,7 +36,7 @@
 #import <WebKit/WebPluginPackage.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 #import <wtf/Vector.h>
 #import <wtf/text/CString.h>
 
index 3039ec5..56f7915 100644 (file)
@@ -80,7 +80,7 @@
 #import <runtime/InitializeThreading.h>
 #import <runtime/JSLock.h>
 #import <wtf/Assertions.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 #import <wtf/text/CString.h>
 
 #define LoginWindowDidSwitchFromUserNotification    @"WebLoginWindowDidSwitchFromUserNotification"
index 2597e6e..cb32b05 100644 (file)
@@ -67,8 +67,8 @@
 #import <WebCore/UserTypingGestureIndicator.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
+#import <wtf/MainThread.h>
 #import <wtf/PassRefPtr.h>
-#import <wtf/Threading.h>
 
 using namespace WebCore;
 
index 7a5e1c9..ec843d4 100644 (file)
 #import <WebKit/DOMHTMLFormElement.h>
 #import <WebKitSystemInterface.h>
 #import <runtime/InitializeThreading.h>
+#import <wtf/MainThread.h>
 #import <wtf/PassRefPtr.h>
-#import <wtf/Threading.h>
 
 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
 #import <WebCore/HTMLMediaElement.h>
index f17bfc7..6d2469a 100644 (file)
@@ -38,7 +38,7 @@
 #import <WebCore/LegacyWebArchive.h>
 #import <WebCore/ThreadCheck.h>
 #import <WebCore/WebCoreObjCExtras.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace WebCore;
 
index 81a6866..d9c047b 100644 (file)
@@ -60,7 +60,7 @@
 #import <WebKit/DOMPrivate.h>
 #import <runtime/InitializeThreading.h>
 #import <wtf/Assertions.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace WebCore;
 
index ae45de1..c0b39d2 100644 (file)
 #import <dlfcn.h>
 #import <limits>
 #import <runtime/InitializeThreading.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 #if USE(ACCELERATED_COMPOSITING)
 #import <QuartzCore/QuartzCore.h>
index bbfc871..cca6197 100644 (file)
@@ -43,7 +43,7 @@
 #import <WebCore/ThreadCheck.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <WebCore/WebCoreURLResponse.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace WebCore;
 
index 36eef54..e305d6d 100644 (file)
@@ -32,7 +32,7 @@
 #import <WebCore/TextIterator.h>
 #import <WebCore/WebCoreObjCExtras.h>
 #import <runtime/InitializeThreading.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 using namespace JSC;
 using namespace WebCore;
index a70dc6b..7d2fcf6 100644 (file)
 #import <runtime/JSValue.h>
 #import <wtf/Assertions.h>
 #import <wtf/HashTraits.h>
+#import <wtf/MainThread.h>
 #import <wtf/RefCountedLeakCounter.h>
 #import <wtf/RefPtr.h>
 #import <wtf/StdLibExtras.h>
-#import <wtf/Threading.h>
 
 #if ENABLE(DASHBOARD_SUPPORT)
 #import <WebKit/WebDashboardRegion.h>
index 91f52fd..2cbc863 100644 (file)
@@ -35,7 +35,7 @@
 #import <WebCore/HistoryItem.h>
 #import <objc/objc-auto.h>
 #import <runtime/InitializeThreading.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 
 BOOL applicationIsTerminating = NO;
 int pluginDatabaseClientCount = 0;
index f7f2da8..bbc2139 100644 (file)
 #endif
 #include "WindowFeatures.h"
 #include "WorkerThread.h"
-#include "runtime/InitializeThreading.h"
-#include "wtf/Threading.h"
+#include <runtime/InitializeThreading.h>
+#include <wtf/MainThread.h>
 
 #include <QApplication>
 #include <QBasicTimer>
index 56554b9..3033a89 100644 (file)
@@ -1,3 +1,14 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * Api/qwebpage.cpp:
+
 2011-07-27  Benjamin Poulain  <benjamin@webkit.org>
 
         [WK2][Qt] Move from QGraphicsView to Qt Scene Graph
index 08f2908..d304a2b 100644 (file)
@@ -1,3 +1,15 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * WebKitClassFactory.cpp:
+        * WebView.cpp:
+
 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
 
         Add support for download='filename' attribute in anchors.
index 0e6a689..17c92b6 100644 (file)
@@ -59,7 +59,7 @@
 #include "WebWorkersPrivate.h"
 #include <JavaScriptCore/InitializeThreading.h>
 #include <WebCore/SoftLinking.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 // WebKitClassFactory ---------------------------------------------------------
 #if USE(SAFARI_THEME)
index 4e78dda..4efe25e 100644 (file)
 #include <WebCore/TypingCommand.h>
 #include <WebCore/WindowMessageBroadcaster.h>
 #include <WebCore/WindowsTouch.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 #if ENABLE(CLIENT_BASED_GEOLOCATION)
 #include <WebCore/GeolocationController.h>
index 3a25c24..7644261 100644 (file)
@@ -1,3 +1,14 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * WebView.cpp:
+
 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
 
         Add support for download='filename' attribute in anchors.
index d79d999..4987b6e 100644 (file)
@@ -74,6 +74,7 @@
 #include <runtime/InitializeThreading.h>
 #include <runtime/JSValue.h>
 #include <runtime/UString.h>
+#include <wtf/MainThread.h>
 #include <wtf/text/CString.h>
 
 #if ENABLE(DATABASE)
index 8330904..cf5fc88 100644 (file)
@@ -1,3 +1,28 @@
+2011-07-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Remove inclusion of MainThread.h from Threading.h
+        https://bugs.webkit.org/show_bug.cgi?id=65081
+
+        Reviewed by Darin Adler.
+
+        Add missing include statements for MainThread.
+
+        * PluginProcess/gtk/PluginProcessMainGtk.cpp:
+        * PluginProcess/mac/PluginProcessMainMac.mm:
+        * PluginProcess/qt/PluginProcessMainQt.cpp:
+        * UIProcess/API/mac/WKPrintingView.mm:
+        * UIProcess/Launcher/mac/ThreadLauncherMac.mm:
+        * UIProcess/Launcher/qt/ThreadLauncherQt.cpp:
+        * UIProcess/Launcher/win/ThreadLauncherWin.cpp:
+        * UIProcess/WebContext.cpp:
+        * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
+        * WebProcess/efl/WebProcessMainEfl.cpp:
+        * WebProcess/gtk/WebProcessMainGtk.cpp:
+        * WebProcess/mac/KeychainItemShimMethods.mm:
+        * WebProcess/mac/WebProcessMainMac.mm:
+        * WebProcess/qt/WebProcessMainQt.cpp:
+        * WebProcess/win/WebProcessMainWin.cpp:
+
 2011-07-30  Balazs Kelemen  <kbalazs@webkit.org>
 
         [Qt][WK2] Fix the build afer r92014
index de77dd0..9942604 100644 (file)
@@ -31,7 +31,7 @@
 #include <gdk/gdkx.h>
 #include <gtk/gtk.h>
 #include <runtime/InitializeThreading.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 namespace WebKit {
 
index 76514d1..2f5e219 100644 (file)
@@ -36,6 +36,7 @@
 #import <WebKitSystemInterface.h>
 #import <runtime/InitializeThreading.h>
 #import <servers/bootstrap.h>
+#import <wtf/MainThread.h>
 #import <wtf/RetainPtr.h>
 #import <wtf/text/CString.h>
 #import <wtf/text/WTFString.h>
index 88fc359..3e0033f 100644 (file)
@@ -33,6 +33,7 @@
 #include "RunLoop.h"
 #include <WebCore/NotImplemented.h>
 #include <runtime/InitializeThreading.h>
+#include <wtf/MainThread.h>
 #include <wtf/RetainPtr.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/WTFString.h>
index d5d9de7..d262680 100644 (file)
@@ -30,6 +30,7 @@
 #import "PrintInfo.h"
 #import "WebData.h"
 #import "WebPageProxy.h"
+#import <wtf/MainThread.h>
 
 using namespace WebKit;
 using namespace WebCore;
index c15073b..1c74b7d 100644 (file)
@@ -30,6 +30,7 @@
 #import "WebProcess.h"
 #import "WebSystemInterface.h"
 #import <runtime/InitializeThreading.h>
+#import <wtf/MainThread.h>
 #import <wtf/Threading.h>
 
 namespace WebKit {
index 313091e..87dc20c 100644 (file)
@@ -30,6 +30,7 @@
 #include "RunLoop.h"
 #include "WebProcess.h"
 #include <runtime/InitializeThreading.h>
+#include <wtf/MainThread.h>
 #include <wtf/Threading.h>
 
 #include <QApplication>
index 2094fc6..2596998 100644 (file)
@@ -29,6 +29,7 @@
 #include "RunLoop.h"
 #include "WebProcess.h"
 #include <runtime/InitializeThreading.h>
+#include <wtf/MainThread.h>
 #include <wtf/Threading.h>
 
 using namespace WebCore;
index 862b6dd..40f100e 100644 (file)
@@ -56,6 +56,7 @@
 #include <WebCore/Logging.h>
 #include <WebCore/ResourceRequest.h>
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 
 #ifndef NDEBUG
 #include <wtf/RefCountedLeakCounter.h>
index 467d38d..05ee4ec 100644 (file)
@@ -40,7 +40,7 @@
 #include <WebKitQuartzCoreAdditions/WKCACFImage.h>
 #include <WebKitQuartzCoreAdditions/WKCACFView.h>
 #include <wtf/CurrentTime.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 #ifdef DEBUG_ALL
 #pragma comment(lib, "WebKitQuartzCoreAdditions_debug")
index ceb339e..f8b3cd2 100644 (file)
@@ -33,7 +33,7 @@
 #include <WebKit2/WebProcess.h>
 #include <runtime/InitializeThreading.h>
 #include <unistd.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 namespace WebKit {
 
index 1671e1a..45a0f3a 100644 (file)
@@ -36,7 +36,7 @@
 #include <gtk/gtk.h>
 #include <runtime/InitializeThreading.h>
 #include <unistd.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 namespace WebKit {
 
index 15e97e6..0f1ac93 100644 (file)
@@ -35,6 +35,7 @@
 #import "WebProcessProxyMessages.h"
 #import "WebProcessShim.h"
 #import <dlfcn.h>
+#import <wtf/MainThread.h>
 
 namespace WebKit {
 
index ae146c6..eb219fc 100644 (file)
@@ -41,7 +41,7 @@
 #import <sysexits.h>
 #import <unistd.h>
 #import <wtf/RetainPtr.h>
-#import <wtf/Threading.h>
+#import <wtf/MainThread.h>
 #import <wtf/text/CString.h>
 #import <wtf/text/StringBuilder.h>
 
index 6ff10ba..dee2ca7 100644 (file)
@@ -28,7 +28,7 @@
 #include "RunLoop.h"
 #include <runtime/InitializeThreading.h>
 #include "WebProcess.h"
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 
 #include <QApplication>
 #include <QList>
index 2533c00..5edeefe 100644 (file)
@@ -31,7 +31,7 @@
 #include "WebProcess.h"
 #include <WebCore/SoftLinking.h>
 #include <runtime/InitializeThreading.h>
-#include <wtf/Threading.h>
+#include <wtf/MainThread.h>
 #include <wtf/text/StringHash.h>
 #include <wtf/text/WTFString.h>