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

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

Issue 2812063002: [scheduler] Remove WebThreadImplForUtilityThread from public API. (Closed)
Patch Set: Fix unittest compilation Created 3 years, 8 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
Index: third_party/WebKit/public/platform/scheduler/child/webthread_base.h
diff --git a/third_party/WebKit/public/platform/scheduler/child/webthread_base.h b/third_party/WebKit/public/platform/scheduler/child/webthread_base.h
index 3b7a42012180c5819552977344d45f734efed68e..76774e71bebf89701eff8dd7156317c9868d4cb8 100644
--- a/third_party/WebKit/public/platform/scheduler/child/webthread_base.h
+++ b/third_party/WebKit/public/platform/scheduler/child/webthread_base.h
@@ -28,6 +28,8 @@ class BLINK_PLATFORM_EXPORT WebThreadBase : public WebThread {
base::Thread::Options options);
static std::unique_ptr<WebThreadBase> CreateCompositorThread(
base::Thread::Options options);
+ // Must be called on utility thread.
+ static std::unique_ptr<WebThreadBase> InitializeUtilityThread();
// WebThread implementation.
bool IsCurrentThread() const override;

Powered by Google App Engine
This is Rietveld 408576698