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 499b9050e30233fc4eb65ea04d1150fba8902b5e..c8d23dd2eee291b68a67c2afc166ff0330c27675 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 ad8e716c512b16839231d23832c2607b9f42d30a..0232a04c9012c8d5069e469fe316cd021ce57dd2 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 b6f8c241681ee3232bac3211d450e5bd13a8305d..3a89757a914a73b21725cc0898d102bde8bd7e4c 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 28667f3164dea29179dabf9254920cb148a7c20e..135cee35b441d9710e2b61ce253be80df8f82e2b 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 ce087286efeebd1ff23c0d0fc650316e65ae0068..472d7c8ab5db7176573e4089c3457f6d306ecb15 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "AtomicString.h"
 #include "DynamicAnnotations.h"
+#include "MainThread.h"
 #include "StaticConstructors.h"
 #include "StringImpl.h"
 
index 042eee600d25aa75823451689b1c64c3cdbca0c2..4d76aa991dc964f48b083a6099fef4a64297c672 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 5a3a56d63a5eead6c63f5975d124bd9933290bf5..587b905fe6c38cce608acdb9ce10ce523ada63ed 100644 (file)
@@ -24,6 +24,7 @@
 #include "JSDOMWindow.h"
 #include "ScriptController.h"
 #include "WebCoreJSClientData.h"
+#include <wtf/MainThread.h>
 
 using namespace JSC;
 
index e87f823c5a5114f3ecdc0a1ca97c36f8f1d4bf9f..0409752145cabe9506548a8fb47bb60db7af9f12 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 3f9dc6c03bf826679c8a882f06d2a7826430e244..d5300ac90af256bccfd6cfb279436f109955020b 100644 (file)
@@ -2401,7 +2401,6 @@ sub GenerateCallbackImplementation
 
     $implIncludes{"ScriptExecutionContext.h"} = 1;
     $implIncludes{"<runtime/JSLock.h>"} = 1;
-    $implIncludes{"<wtf/MainThread.h>"} = 1;
 
     @implContent = ();
 
index aa3b7ec8cc0c3b25f3fb7959fe30de58bdafad45..7b84e0adfffc1b369fd05909172a270411be1d0c 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "DOMData.h"
 #include "V8Binding.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 1e9429f9d3e58b1dd7b9cfbbb258890d14417a4a..6a9c6db586f3b43985e0a6a0dc040f11c94cedbd 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 117da7f7f76cf02baa577a9addb5e9b73ffebe86..2673e31495e6668942769f286707270da1dec9e5 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 ef9a62c1fd6245cb2ae2d78b6eb494c7e017b64c..cf12176cde4e0c3f11fbad85b6a442e00cffe286 100644 (file)
@@ -35,6 +35,7 @@
 #include "DOMDataStore.h"
 #include "ScopedDOMDataStore.h"
 #include "V8Binding.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index be62149499636b740ed83e43da49b08104294071..eb2205172b3c94b08ae67f554b20aee288149f90 100644 (file)
@@ -43,6 +43,7 @@
 #include "WrapperTypeInfo.h"
 #include "XPathNSResolver.h"
 #include <v8.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index a28bdb13d2ce82fa6923f93b36bfa1707f33e070..c20b21c13c89b36ffb38af41acb9fbdda3ca8968 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 955d7232d4dc09bc459d527a03f3f5628177b941..8f0169eeabba93ff4f156d7c2347b6c0b27d5bba 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 18e4be276dfe079116c19d77ea276af42b1ce7a5..711adf4a276c1aca1470c08afc25c78dac02e29b 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 0acbe78738cb9189f74c6fedd239582147a812f1..d9d45c81b5ee79702eb6d65b22d96a83ca7aadd4 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 9e34f83a51f37dcf0b358dabcad7a2ccfcac8bf1..2fc1ee89c4dcac93395326de0a94d24d35581ab8 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 98d5ebfc256fa7334f001bd9a6036f72881a2b4a..dcfa524f58ad6e5997498d7fefe24a310f69fcae 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 2ab7f3b74bdc997aab3f8ccdb9cfc669337304bd..6ca5b37d21b962a1db2b0a06e63e906bb67d3f2d 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 4dc195f568df102a8ff1093b85d4064fee118f41..cbfc2bbdc702899d7de43603cea15e0aea556723 100644 (file)
@@ -36,6 +36,7 @@
 #include "Page.h"
 #include "SecurityOrigin.h"
 #include "SerializedScriptValue.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 0fab3238a1be51cf0ee6be3ed7bd38f2a3efd13f..7f9165330227dba12143cac65b217ceaa8f7aef1 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 3660d3018c77defb3bc18d4027486bdcb39ec108..736deaf6aa21d97ca0fc24c8421548a6a73514a8 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 abddd1b19d8d01f5a2ad86be8b749431ae90db59..d20986159fe01eb966ff0c70b9ff5ec840a56751 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 90933b9c3b0f0598aa594c60a95b1b185d118c72..195db7cba9892996b4368efea2bc72548b8cf81c 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 fbe66cc23c78ce61e6366292cbd95ea0aa95c9a2..998dc32a652286bfd192f33a06fa7955f9ff9861 100644 (file)
@@ -31,6 +31,7 @@
 #include "ThreadGlobalData.h"
 #include "Timer.h"
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 
 using namespace std;
 
index 2888ebf1c0d57c794627c5afd0ab87135f0f5c46..92fc96cf173d7d63a87f27117cdbaaaee53f11da 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 9e122503a9aefb54021a4bee3041fecb4f7406c6..198f7cdb859ce2b21b17da85e5c59cd4b2be8e54 100644 (file)
@@ -33,6 +33,7 @@
 #include "HRTFDatabaseLoader.h"
 
 #include "HRTFDatabase.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 0bb606cf183b8603174049d8570eda9f2107b25b..724765ae1844417269bc37e6787e56ea345548fb 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 0159b8fc629f924cb7b451608f20c064ffbf9c5f..9ccfa5ac0be2c7991bb465575fa4128122d47887 100644 (file)
@@ -24,6 +24,7 @@
 #include "FontSelector.h"
 #include "SimpleFontData.h"
 #include <wtf/Forward.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 7cf265cc653ae7be9abfd275325e896ddbbce90e..e526242afa3d6ef4c6e15b16d1bca746b06cac1d 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 a712e7f27c68f26e19451ebe9978054e52ba54cc..48cadd360dc7ee9932da788ce9fa873fadb5ad8e 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 3d1fdcb56b34d2823459ab6ed92172dba7d7af37..1eaf9a8e10e95c4883a11a8ebb77b7fa1f51de77 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 c4c33747554603231e6598ad8bf26e44646f527b..f3cf39e7476398d488a8546b29acef93d0874549 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 e3fde634f9c24cb3c8da2ae361e37b99aca6702c..4893b04e10471adbd90bf6947775f55e8c7ac050 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 e47d5d8600407aa622ad4ffbcb3ccdfcf917168e..395fec6956ef17084d20d7e55bc7ff4c43ebcdcc 100644 (file)
@@ -61,6 +61,7 @@
 #include <CoreGraphics/CGBitmapContext.h>
 #endif
 #include <wtf/CurrentTime.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index cafe9019c974019890d9fc61c92142d90179f33f..68a251ae413f93da553bbfa8d8d694e05feab887 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 2dc44e9f17c191f34e5d699ed993f3c7a9413e8b..b34fa408b078e9741e49f0c0d2b8868784140e24 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 eb5cf2c76a1370b88c38790079d88a3fbf5229b0..6933c459d0072fc646d792a2db5ca8f6e00642d2 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 bb4749b4bda6ddeb8e89c9aa580ddccb52909c49..e739d9c2faa494e9e30c2a731a22c54a72efb22f 100644 (file)
@@ -44,6 +44,7 @@
 #include "ResourceLoader.h"
 #include "ResourceRequest.h"
 #include "ResourceResponse.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 881e3926601b89abebc629acdebdc55189732612..ae1a31935d6c7a6c6914dfa505d7d19d07f4041c 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 d66accda3458b5be626bafde2f372729988019cc..aa99df345fb53d43a1a9483dbade82296e44ff7b 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 57eb2f5cde090d2bc4475c1631c25cbbba57e6e5..dc226df12a0abfa9edc6899505cffb031035dc1a 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 d6450b1ac38e05eb50f55288c751b22a61158ea6..e45764d62ed5bc684037a48da6925a47d71d20d8 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 12ad3234675d142c55ca14b6520d6c048c6dc735..ac6e70990a58e22b5ba936daa36215f8f74579a4 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 c0794416f7881754e968b23a58861fa9eb3508d3..019baed48def360aaae6b259e4d971ac7660020b 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 cbb81c545ca2615bbc9b038dc94a941c2a20d860..6242b5f565eaea29f7174193e3330e56bdbd169f 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "LocalStorageTask.h"
 #include "StorageAreaSync.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 9c1e81e596afdf42cf55ea8d0abc37f550649130..9a3ceff9de545aeb9904c1ce7ae1639e650804d5 100644 (file)
@@ -38,6 +38,7 @@
 #include "StorageMap.h"
 #include "StorageSyncManager.h"
 #include "StorageTracker.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index 48a226b160938d495f8c399cc59edf486fed7d87..3b8e09438df87c1519921e76716ce313671fe3fb 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 d512975341ee823e971da710a7cbf2ff5cf280fb..96654856c2dbfe75dac27c4980b7467a10f02db7 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 be08d4313894cc335bc3863b61deba479de472b9..00ca7d253afa5fec8136d103a145fb1bb4d95fd5 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 246df72684d7c6715a2737db5aef970716adaf7a..a9a89021e18f7d8767f0672f26ff31a33c51fe1c 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 4268a649e15f7314f787a6cea5bc2806f3baa8f6..bf6c424873d08177e3dabff0099aaef56b1b21f4 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 567149f7ea579ff7cc0b1ce30a75356370cf1a2d..1a952b074fd30dfb985ded66cbc9c9e0bf2aec04 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 d7bb9f43060942034adfd13e665584c759d828ee..a93e8aa93e1aa59f3fb997853a5d29823c0e32dd 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 6fb39b8dc7747eb9e7128148951dcf94f69160be..255a8a2214f7167aea8a521640485a7fb84e987f 100644 (file)
@@ -32,6 +32,7 @@
 #include "AudioNodeInput.h"
 #include "AudioNodeOutput.h"
 #include <wtf/Atomics.h>
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index b79872c84719ce96c2636ac2f67450cdec500693..2651a5598afecd2cb1941a144a8ea1b0de65c5b3 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 e3a075871297dd9cf3e77a46f62f29d350d86d83..4bfda7b4b5dd75252542212b589b571c479b8c96 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 72657862c1602ab8099a1a731c70ed86a2cbea2c..38729ffd6d83bf7a688558f02c062ed96fd84890 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 637ec75b5f4c2ee2967e1729f1eaae1e87e3465d..09d6aadabddae1fca3391828e9902c8c62433410 100644 (file)
@@ -27,6 +27,7 @@
 #if ENABLE(WEB_AUDIO)
 
 #include "WaveShaperNode.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index f5834ebfda1109e5ff53ef9a888a1f5109f1e884..f2bb35e10ccda7c6676f089bfa69a5edd181c4fc 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 f6998dba810f06aeff39958a9bc8f6df24445b40..0a6f8cbfaaa85633ce9ede9bab820826dc5b32d3 100644 (file)
@@ -42,6 +42,7 @@
 #include "ScriptCallStack.h"
 #include "ScriptExecutionContext.h"
 #include "Worker.h"
+#include <wtf/MainThread.h>
 
 namespace WebCore {
 
index cd125f47499f43704b7587eeebfdd83a3e6757a4..516e5889b69eb1dd83e9cb2a8939304e1ef7739c 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 caa0e67add1c30ca593848b81a49b0e7de2fb7f3..9bd5cc96dfc037a6b502fbb958ea7bf86bc717f3 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 118b5d5c5df70571b2014679e58d5d94c9141ae3..07fc55e30f93c78706a7964cff2230d9e59bb289 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 e0218cec559a145c275f905d8533e951f0e6253e..eccc712d096b919934eabd1061bde323e2d281b7 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 a6686fe7ea3295189b17b4ae63c3938487de5b0b..59ef3bb8678e624a3ffbb7c5add2497ac33d92a5 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 0eb44cc9a8dfa116c3c2ddfb51eb0f4a49c6c8d1..39befb3cdce44410e117a5fff32816c3af636825 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 01e095c19a3e0b0f5b89ab81e306d3dfb5b568ce..5b036fdaea8eea4e5e6ef5349474ca0c4cb566bf 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 e0f09810a8fbf3361fb4d28369bf39a5e7a8c160..f65cde22fba9f175628bcb0d3f1a11f0d5e6bf3b 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 224898590a2b538a0a9c31f7a56cb0af7d9bc084..8266b917953e2309f1b4eab875305c1952f35848 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 d06aab50702bb7e0979792ec11a10835a9b6a414..1283514ba69ea36184bf65be0820f70400533fd6 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 5bdae4b9cc47d5b88448c01a5df8d54baf5f5d79..162fb428b31f08cb8ce04e76be2aa04f19cebc8c 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 e97ebc2be328d4ec7f28d0b8abf24f9a6d238ec5..65c8c1f23f7e7865bd6ce79e0d1fe5e13562623b 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 4006bb79f11b41d8268c263afe33c28c80374456..506cb5c2f67812db00bed32396fd4c692ebdc4f6 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 0891b5d1b3048bf2892981fec4a2dad9aac038ba..28b34568927616bf6a8c945836b4c1442346d8b9 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 2d3f69517698cb32b3a7b931db91e53e418cfc89..b3e82d15063590342dc41d99e5fce1fdd96b65e2 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 08cce949422dbd78c626fc76d300da5e203639a9..57121ad911397362abc3411f29f2dfd3688fa256 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 3039ec55e6ebea46c9b0d51e42d302b564e90772..56f7915fc30fb1a29c454972144a805ffd5328db 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 2597e6e9c0a6103f275849272e513e4ca21bf4b7..cb32b05cfdc46a388497688ed346788023541320 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 7a5e1c9aec36fd6d2ba4deefc286c8100bb33b88..ec843d4bee70764767c798fc3f8a1a4e3fdd9f8b 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 f17bfc7110ab6b396e19862e7b536717032d1ad4..6d2469ae040e3cec368758ca42bf84a3cf1a68e6 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 81a6866b7bb81d2bc71605b07901df5ab23cf4cd..d9c047bc5977d100aecb0aaede65d116e680724a 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 ae45de1c98e933d1d6aa8d9329a3e7a1d261dd24..c0b39d2d05330e63a3706d6beb9d272a464ed521 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 bbfc871872b785c49f5e494bcdf055203c4430da..cca6197fbcd83d4d1a8b38bec4c7ce332dcfabd4 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 36eef54aa071af1a9ab0e67dd97b88c2414c15b4..e305d6d46ae62bf098da5bc0242b0e4144abc1ef 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 a70dc6bdcb723c1365cba8a3f533318683b71543..7d2fcf690ad2e073ffd1cff6def6b0821db9cdaf 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 91f52fd1f205187a4520d8e11a83b07624956222..2cbc8637a0225038c37b7839666f79e4ccc7b35d 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 f7f2da8417c752e785d42111415a0822103ee2d3..bbc2139d26800195505ec247fae44274d88afc52 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 56554b92af995f02c4524d07da6974d40a0d6814..3033a89793e50b29a31e6199b329d710b379f79e 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 08f290812840180591951ad878ca6e1611ec968d..d304a2b07f806cac2d67fe186cb4062538b8ba23 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 0e6a689511a5c5ada21f542f10fe41245a182528..17c92b6e241528bc90d21f201bda65ecea8c388c 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 4e78ddad42296c9f9786db5114f0ec58435fcbfc..4efe25ef1863f7daa487fb0180998d7f82cf1e5c 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 3a25c240cbbb3f265ba6ecc090827959c74172b1..76442613c94a417c04edf589c8c8da1e5de0a855 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 d79d99959e84f8538da80b5ed26810658927de5d..4987b6ea8c02f46a94e88ea5d2b77768f17a8ea6 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 8330904880be8000cda11f36fd274eb744f6c2a3..cf5fc8855d1e1b4859709a051bb002844c6ed7fa 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 de77dd0252994072fc36675860079a103be7c6f7..9942604e7b9de37bd93efe644763659015f19e8f 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 76514d1f7dc55b569c81ed5c499084fe9a256535..2f5e219aba1e18d69a04108f5cfec9e86b43ec28 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 88fc359c5ae0cda5d9a2d3a8d8eff01ea75e7556..3e0033ff0ab337650e53d081c89f44414a678a75 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 d5d9de786b2dcbc4abb8c23573633a40cfae3138..d2626804b4e02803568074b081c344fb1b895592 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 c15073bb89032f8b4c14c172237b4226a86a1079..1c74b7d287af9ba6592c7df39b2a053140f3ef03 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 313091e86401f83f11c27b3a81646e2730f05e5d..87dc20c4fca64f87c38d5b2a41a545e844fb6178 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 2094fc63b9de81cabc08dbedf0b5fe5647933824..2596998ea23920a13d95e1feb7cfa2bec1d59cbd 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 862b6ddcc1aa7b606f7ef2df040dd8224203e4c6..40f100e268323af3ceade7ff72f46ada081f3ec2 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 467d38dc3d153a98c4ab1e964334c77c8c6101b5..05ee4ec07cdc479b74318e331a4d4592c7c67bc7 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 ceb339e642a967e61f8c0e712365a8a975ae93dc..f8b3cd240b475c95e9c718ad01244e5236172bac 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 1671e1a10faefb7f123fd3e164cc52d875e38b38..45a0f3a479e563896f51c2747563222d1be74b79 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 15e97e6b34be970f859c7e91dfc31533c243ff94..0f1ac9317b211b2a24e9d204f282232595bf3f79 100644 (file)
@@ -35,6 +35,7 @@
 #import "WebProcessProxyMessages.h"
 #import "WebProcessShim.h"
 #import <dlfcn.h>
+#import <wtf/MainThread.h>
 
 namespace WebKit {
 
index ae146c65fd508d4fb0c6916b7ca409d8be86dd14..eb219fcb1a4ec8f6d45cb0c463e62a4d5aebfa6a 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 6ff10ba91a6ee0933e05cd564dfd8a3d5bd4dc41..dee2ca7a90e33803f814e839a05d9a5913cb2561 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 2533c00ffef7b57fbc6b92f6703b6fc1b8a703ce..5edeefe5cddb5af2dc4478af449ae6bafd3847b1 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>