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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2149033002: Update scroll layers' bounds_delta earlier during tree activation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 | « no previous file | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index cc98d5d17dd84cd22aaced710af228ea584e4b8b..c90c11b822e048c51ffd806532b68a5d6278b964 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2011,10 +2011,6 @@ void LayerTreeHostImpl::ActivateSyncTree() {
active_tree_->ProcessUIResourceRequestQueue();
}
- // bounds_delta isn't a pushed property, so the newly-pushed property tree
- // won't already account for current bounds_delta values. This needs to
- // happen before calling UpdateViewportContainerSizes().
- active_tree_->UpdatePropertyTreesForBoundsDelta();
UpdateViewportContainerSizes();
active_tree_->DidBecomeActive();
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698