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

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: Fix export Created 4 years, 9 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/proxy_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index c5821f373e758d6ceb80248e639fdf2d52fa0118..02f60d7a23733dc76af5168a6c15b7faf99ddf6f 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -184,6 +184,11 @@ void ProxyMain::BeginMainFrame(
current_pipeline_stage_ = ANIMATE_PIPELINE_STAGE;
+ if (begin_main_frame_state->begin_frame_callbacks) {
+ for (auto& callback : *begin_main_frame_state->begin_frame_callbacks)
esprehn 2016/03/31 05:03:11 Why here? Why is this before ApplyScrollAndScale
majidvp 2016/03/31 19:43:03 We want the mutations to get applied before beginn
danakj 2016/04/05 17:45:21 After ApplyScrollAndScale may make sense for now,
+ callback.Run();
+ }
+
layer_tree_host_->ApplyScrollAndScale(
begin_main_frame_state->scroll_info.get());

Powered by Google App Engine
This is Rietveld 408576698