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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 363383002: Forward input tasks to the Blink scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. DefaultMainThreadTaskRunner now dispatches properly. Created 6 years, 5 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: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index 306578f8973345faf69f1f1f7a4616df1983923d..9d5a9f6648dd9c839d12708acadc4640ef1b79af 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -24,7 +24,8 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
public:
static scoped_ptr<Proxy> Create(
LayerTreeHost* layer_tree_host,
- LayerTreeHostSingleThreadClient* client);
+ LayerTreeHostSingleThreadClient* client,
+ scoped_refptr<cc::MainThreadTaskRunner> main_task_runner);
virtual ~SingleThreadProxy();
// Proxy implementation
@@ -93,7 +94,8 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
private:
SingleThreadProxy(LayerTreeHost* layer_tree_host,
- LayerTreeHostSingleThreadClient* client);
+ LayerTreeHostSingleThreadClient* client,
+ scoped_refptr<cc::MainThreadTaskRunner> main_task_runner);
void DoCommit(scoped_ptr<ResourceUpdateQueue> queue);
bool DoComposite(base::TimeTicks frame_begin_time,
« no previous file with comments | « cc/trees/proxy.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | cc/trees/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698