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

Unified Diff: components/scheduler/child/webthread_impl_for_worker_scheduler.cc

Issue 1494483002: Revert of compositor-worker: Refactor CompositorWorkerManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: components/scheduler/child/webthread_impl_for_worker_scheduler.cc
diff --git a/components/scheduler/child/webthread_impl_for_worker_scheduler.cc b/components/scheduler/child/webthread_impl_for_worker_scheduler.cc
index 4c8335edd0dc000236a445fc856d021ee7c753ed..8cd69b80d0d7d7a760d869b2e17ef2a29db60e2f 100644
--- a/components/scheduler/child/webthread_impl_for_worker_scheduler.cc
+++ b/components/scheduler/child/webthread_impl_for_worker_scheduler.cc
@@ -20,13 +20,8 @@
WebThreadImplForWorkerScheduler::WebThreadImplForWorkerScheduler(
const char* name)
- : WebThreadImplForWorkerScheduler(name, base::Thread::Options()) {}
-
-WebThreadImplForWorkerScheduler::WebThreadImplForWorkerScheduler(
- const char* name,
- base::Thread::Options options)
- : thread_(new base::Thread(name ? name : std::string())) {
- thread_->StartWithOptions(options);
+ : thread_(new base::Thread(name)) {
+ thread_->Start();
thread_task_runner_ = thread_->task_runner();
base::WaitableEvent completion(false, false);
« no previous file with comments | « components/scheduler/child/webthread_impl_for_worker_scheduler.h ('k') | content/child/blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698