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

Unified Diff: content/child/worker_thread_task_runner.cc

Issue 898803003: workers: Remove dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_thread_task_runner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/worker_thread_task_runner.cc
diff --git a/content/child/worker_thread_task_runner.cc b/content/child/worker_thread_task_runner.cc
index 8e5b2e75a4e4266e77be471b53bed5361fe17cf8..da7bc912fb9b780d2234b8d9500b07f93fbfca9e 100644
--- a/content/child/worker_thread_task_runner.cc
+++ b/content/child/worker_thread_task_runner.cc
@@ -13,13 +13,6 @@ WorkerThreadTaskRunner::WorkerThreadTaskRunner(int worker_thread_id)
: worker_thread_id_(worker_thread_id) {
}
-scoped_refptr<WorkerThreadTaskRunner> WorkerThreadTaskRunner::current() {
- int worker_thread_id = WorkerTaskRunner::Instance()->CurrentWorkerId();
- if (!worker_thread_id)
- return scoped_refptr<WorkerThreadTaskRunner>();
- return make_scoped_refptr(new WorkerThreadTaskRunner(worker_thread_id));
-}
-
bool WorkerThreadTaskRunner::PostDelayedTask(
const tracked_objects::Location& /* from_here */,
const base::Closure& task,
« no previous file with comments | « content/child/worker_thread_task_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698