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

Unified Diff: cc/top_controls_manager.cc

Issue 12025031: Find root scroll layer at tree activation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/top_controls_manager.cc
diff --git a/cc/top_controls_manager.cc b/cc/top_controls_manager.cc
index fcd7d8926f6ce7972d5d591baf2fb50469a5a7c4..3b36e9894096770c3df698e40f8a808ee32f4060 100644
--- a/cc/top_controls_manager.cc
+++ b/cc/top_controls_manager.cc
@@ -140,7 +140,7 @@ void TopControlsManager::ResetAnimations() {
}
LayerImpl* TopControlsManager::RootScrollLayer() {
- return client_->activeTree()->root_scroll_layer();
+ return client_->rootScrollLayer();
}
float TopControlsManager::RootScrollLayerTotalScrollY() {

Powered by Google App Engine
This is Rietveld 408576698