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

Unified Diff: content/child/blink_platform_impl.cc

Issue 937313003: chrome: Remove the use of WebWorkerRunLoop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « content/child/blink_platform_impl.h ('k') | content/child/worker_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index ffea5f9f7bde53e696c9a04c8c913286d074d3a8..e64e186cf526aeb099fe23119b2ab5e4145a02e9 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -1040,14 +1040,22 @@ blink::WebGestureCurve* BlinkPlatformImpl::createFlingAnimationCurve(
void BlinkPlatformImpl::didStartWorkerRunLoop(
kinuko 2015/02/26 03:28:03 nit: would be nice to have a TODO comment that thi
sadrul 2015/02/26 05:00:22 Done.
const blink::WebWorkerRunLoop& runLoop) {
- WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
- worker_task_runner->OnWorkerRunLoopStarted(runLoop);
+ didStartWorkerRunLoop();
}
void BlinkPlatformImpl::didStopWorkerRunLoop(
const blink::WebWorkerRunLoop& runLoop) {
kinuko 2015/02/26 03:28:03 ditto
sadrul 2015/02/26 05:00:22 Done.
+ didStopWorkerRunLoop();
+}
+
+void BlinkPlatformImpl::didStartWorkerRunLoop() {
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
+ worker_task_runner->OnWorkerRunLoopStarted();
+}
+
+void BlinkPlatformImpl::didStopWorkerRunLoop() {
WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
- worker_task_runner->OnWorkerRunLoopStopped(runLoop);
+ worker_task_runner->OnWorkerRunLoopStopped();
}
blink::WebCrypto* BlinkPlatformImpl::crypto() {
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/worker_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698