Index: Source/WebCore/workers/WorkerThread.cpp |
=================================================================== |
--- Source/WebCore/workers/WorkerThread.cpp (revision 115369) |
+++ Source/WebCore/workers/WorkerThread.cpp (working copy) |
@@ -142,6 +142,8 @@ |
} |
} |
#if PLATFORM(CHROMIUM) |
+ // The corresponding call to didStopWorkerRunLoop is in |
+ // ~WorkerScriptController. |
PlatformSupport::didStartWorkerRunLoop(&m_runLoop); |
#endif |
@@ -157,10 +159,6 @@ |
runEventLoop(); |
-#if PLATFORM(CHROMIUM) |
- PlatformSupport::didStopWorkerRunLoop(&m_runLoop); |
-#endif |
- |
ThreadIdentifier threadID = m_threadID; |
ASSERT(m_workerContext->hasOneRef()); |