Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: Source/WebCore/workers/WorkerThread.cpp

Issue 10232019: Merge 113818 - Notify observers of WorkerRunLoop stopping before the V8 isolate dies. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/bindings/v8/WorkerScriptController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/WebCore/bindings/v8/WorkerScriptController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698