Revert fix for Bug 75064: TestWebKitAPI: initialize the main thread before running...
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Jan 2012 19:25:19 +0000 (19:25 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Jan 2012 19:25:19 +0000 (19:25 +0000)
This reverts commit r103546.

* TestWebKitAPI/TestsController.cpp:
(TestWebKitAPI::TestsController::TestsController):

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

Tools/ChangeLog
Tools/TestWebKitAPI/TestsController.cpp

index ca9bf90..5312a33 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-04  David Kilzer  <ddkilzer@apple.com>
+
+        Revert fix for Bug 75064: TestWebKitAPI: initialize the main thread before running tests
+
+        This reverts commit r103546.
+
+        * TestWebKitAPI/TestsController.cpp:
+        (TestWebKitAPI::TestsController::TestsController):
+
 2012-01-04  James Robinson  <jamesr@chromium.org>
 
         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
index 955838f..29dcc71 100644 (file)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "TestsController.h"
 
-#include <wtf/MainThread.h>
 #include <wtf/Threading.h>
 
 namespace TestWebKitAPI {
@@ -39,8 +38,6 @@ TestsController& TestsController::shared()
 
 TestsController::TestsController()
 {
-    WTF::initializeMainThread();
-
     // FIXME: We currently initialize threading here to avoid assertion failures from
     // the ThreadRestrictionVerifier - https://bugs.webkit.org/show_bug.cgi?id=66112
     // We should make sure that all objects tested either initialize threading or inherit from