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()); |