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

Unified Diff: content/child/webthread_impl.h

Issue 690703002: WebThreadImplForMessageLoop to use blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a null check for Sami Created 6 years, 1 month 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/blink_platform_impl.cc ('k') | content/child/webthread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webthread_impl.h
diff --git a/content/child/webthread_impl.h b/content/child/webthread_impl.h
index 8ebbd97d02cf62aa57c1b02ac42cc15bdc72ecf3..b63d384c08e7de5c2980140e7f06ab4583075899 100644
--- a/content/child/webthread_impl.h
+++ b/content/child/webthread_impl.h
@@ -57,7 +57,7 @@ class CONTENT_EXPORT WebThreadImpl : public WebThreadBase {
class WebThreadImplForMessageLoop : public WebThreadBase {
public:
CONTENT_EXPORT explicit WebThreadImplForMessageLoop(
- base::MessageLoopProxy* message_loop);
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner);
CONTENT_EXPORT virtual ~WebThreadImplForMessageLoop();
virtual void postTask(Task* task) override;
@@ -70,7 +70,7 @@ class WebThreadImplForMessageLoop : public WebThreadBase {
virtual bool isCurrentThread() const override;
virtual blink::PlatformThreadId threadId() const override;
- scoped_refptr<base::MessageLoopProxy> message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
blink::PlatformThreadId thread_id_;
};
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/webthread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698