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

Unified Diff: cc/layers/layer_impl.cc

Issue 2708493002: Refactor scroll chaining to use ScrollNodes without going through LayerImpl (Closed)
Patch Set: Created 3 years, 10 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/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 4074061f723013ce0ad1ad8dfa7046dffc54ff04..891057fc48fccdad4a32f744ed70da5a4a21f5ad 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -133,12 +133,6 @@ void LayerImpl::SetDebugInfo(
SetNeedsPushProperties();
}
-void LayerImpl::DistributeScroll(ScrollState* scroll_state) {
- ScrollTree& scroll_tree = GetScrollTree();
- ScrollNode* scroll_node = scroll_tree.Node(scroll_tree_index());
- scroll_tree.DistributeScroll(scroll_node, scroll_state);
-}
-
void LayerImpl::SetTransformTreeIndex(int index) {
transform_tree_index_ = index;
}

Powered by Google App Engine
This is Rietveld 408576698