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

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

Issue 960443002: blink: Remove the use of WebWorkerRunLoop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « no previous file | Source/web/WebWorkerRunLoop.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerThread.cpp
diff --git a/Source/core/workers/WorkerThread.cpp b/Source/core/workers/WorkerThread.cpp
index 69d26a5b8871f1dc5d0e94ae47a0381e0592f315..796dbf6b58527e8ed579b37f9bbc74329ee4d9f1 100644
--- a/Source/core/workers/WorkerThread.cpp
+++ b/Source/core/workers/WorkerThread.cpp
@@ -45,7 +45,6 @@
#include "public/platform/Platform.h"
#include "public/platform/WebThread.h"
#include "public/platform/WebWaitableEvent.h"
-#include "public/platform/WebWorkerRunLoop.h"
#include "wtf/Noncopyable.h"
#include "wtf/WeakPtr.h"
#include "wtf/text/WTFString.h"
@@ -480,13 +479,13 @@ void WorkerThread::stopInternal()
void WorkerThread::didStartRunLoop()
{
ASSERT(isCurrentThread());
- blink::Platform::current()->didStartWorkerRunLoop(WebWorkerRunLoop(this));
+ blink::Platform::current()->didStartWorkerRunLoop();
}
void WorkerThread::didStopRunLoop()
{
ASSERT(isCurrentThread());
- blink::Platform::current()->didStopWorkerRunLoop(WebWorkerRunLoop(this));
+ blink::Platform::current()->didStopWorkerRunLoop();
}
void WorkerThread::terminateAndWaitForAllWorkers()
« no previous file with comments | « no previous file | Source/web/WebWorkerRunLoop.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698