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

Unified Diff: third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: +DISALLOW_COPY_AND_ASSIGN for win build fix Created 3 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 | « third_party/WebKit/Source/web/InspectorEmulationAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h
diff --git a/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h b/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h
index 4a8d687a5574f65abdab5c864ca451b085007d0c..953c5c50412d24684d9d63b390cc4256345f6593 100644
--- a/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h
+++ b/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h
@@ -6,15 +6,16 @@
#define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_CHILD_WEBTHREAD_IMPL_FOR_WORKER_SCHEDULER_H_
#include "base/threading/thread.h"
+#include "public/platform/WebPrivatePtr.h"
#include "public/platform/scheduler/child/webthread_base.h"
namespace base {
class WaitableEvent;
-};
+}
namespace blink {
class WebScheduler;
-};
+}
namespace blink {
namespace scheduler {
@@ -69,7 +70,7 @@ class BLINK_PLATFORM_EXPORT WebThreadImplForWorkerScheduler
scoped_refptr<TaskQueue> task_runner_;
scoped_refptr<scheduler::SingleThreadIdleTaskRunner> idle_task_runner_;
scoped_refptr<SchedulerTqmDelegate> task_runner_delegate_;
- std::unique_ptr<WebTaskRunnerImpl> web_task_runner_;
+ WebPrivatePtr<WebTaskRunnerImpl> web_task_runner_;
};
} // namespace scheduler
« no previous file with comments | « third_party/WebKit/Source/web/InspectorEmulationAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698