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

Unified Diff: cc/trees/proxy_main.cc

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Merge master + s/scoped_ptr/unique_ptr/ Created 4 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
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | third_party/WebKit/Source/core/animation/CustomCompositorAnimationManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index 3a98ff59d49b43b0b79a96cc4f672d926a3e0d32..eae3ad4f3e27809f8d4115883268c6f887ae39ff 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -187,6 +187,11 @@ void ProxyMain::BeginMainFrame(
layer_tree_host_->ApplyScrollAndScale(
begin_main_frame_state->scroll_info.get());
+ if (begin_main_frame_state->begin_frame_callbacks) {
+ for (auto& callback : *begin_main_frame_state->begin_frame_callbacks)
+ callback.Run();
+ }
+
layer_tree_host_->WillBeginMainFrame();
layer_tree_host_->BeginMainFrame(begin_main_frame_state->begin_frame_args);
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | third_party/WebKit/Source/core/animation/CustomCompositorAnimationManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698