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

Unified Diff: content/child/worker_task_runner.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/worker_task_runner.h ('k') | content/child/worker_task_runner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/worker_task_runner.cc
diff --git a/content/child/worker_task_runner.cc b/content/child/worker_task_runner.cc
index 82410fc48a1b6b48b0b7da87a682d2d548722b7b..17b4e1654b597b5cba72fa03ea3ed76bfbd152df 100644
--- a/content/child/worker_task_runner.cc
+++ b/content/child/worker_task_runner.cc
@@ -14,8 +14,6 @@
#include "base/stl_util.h"
#include "base/thread_task_runner_handle.h"
-using blink::WebWorkerRunLoop;
-
namespace content {
namespace {
@@ -90,7 +88,7 @@ void WorkerTaskRunner::RemoveStopObserver(Observer* obs) {
WorkerTaskRunner::~WorkerTaskRunner() {
}
-void WorkerTaskRunner::OnWorkerRunLoopStarted(const WebWorkerRunLoop& loop) {
+void WorkerTaskRunner::OnWorkerRunLoopStarted() {
DCHECK(!current_tls_.Get());
DCHECK(!base::PlatformThread::CurrentRef().is_null());
current_tls_.Set(new ThreadLocalState());
@@ -101,7 +99,7 @@ void WorkerTaskRunner::OnWorkerRunLoopStarted(const WebWorkerRunLoop& loop) {
CHECK(task_runner_map_[id]);
}
-void WorkerTaskRunner::OnWorkerRunLoopStopped(const WebWorkerRunLoop& loop) {
+void WorkerTaskRunner::OnWorkerRunLoopStopped() {
DCHECK(current_tls_.Get());
FOR_EACH_OBSERVER(Observer, current_tls_.Get()->stop_observers_,
OnWorkerRunLoopStopped());
« no previous file with comments | « content/child/worker_task_runner.h ('k') | content/child/worker_task_runner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698