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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 337693005: cc: Control defer_commits logic by Scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 5 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
Index: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index a6c348acc6cd6939a7f5d38704f7c9a32ffac8be..132610a4aef166ee6fe5567bfcb7233525047c86 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -114,13 +114,14 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
// Called by the legacy path where RenderWidget does the scheduling.
void CompositeImmediately(base::TimeTicks frame_begin_time);
- private:
+ protected:
SingleThreadProxy(
LayerTreeHost* layer_tree_host,
LayerTreeHostSingleThreadClient* client,
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ private:
void BeginMainFrame();
void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason);
void DoAnimate();
@@ -154,7 +155,6 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
bool inside_draw_;
bool defer_commits_;
- bool commit_was_deferred_;
bool commit_requested_;
bool inside_synchronous_composite_;

Powered by Google App Engine
This is Rietveld 408576698