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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 723713003: cc: Add SetChildrenNeedBeginFrames() & SendBeginFramesToChildren() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index f15c7ec269256105167466e691e5d94d306d60a4..ac26ef34c0837cf55593f20d6d87cd97acf24184 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -640,6 +640,12 @@ bool SingleThreadProxy::MainFrameWillHappenForTesting() {
return false;
}
+void SingleThreadProxy::SetChildrenNeedBeginFrames(
+ bool children_need_begin_frames) {
+ scheduler_on_impl_thread_->SetChildrenNeedBeginFrames(
+ children_need_begin_frames);
+}
+
void SingleThreadProxy::WillBeginImplFrame(const BeginFrameArgs& args) {
layer_tree_host_impl_->WillBeginImplFrame(args);
}
@@ -803,4 +809,8 @@ void SingleThreadProxy::DidBeginImplFrameDeadline() {
layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame();
}
+void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
+ layer_tree_host_->SendBeginFramesToChildren(args);
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698