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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 1805343006: cc: Impl thread scroll on ScrollNode instead of LayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments 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
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 76ff68ca0b4eb98d948bf06ada5e02819ec7773d..b6776ceab0a1e5fddb7930719d3efcfeca754a60 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -324,8 +324,8 @@ class CC_EXPORT LayerTreeImpl {
// The outer viewport scroll layer scrolls first.
bool DistributeRootScrollOffset(const gfx::ScrollOffset& root_offset);
- void ApplyScroll(LayerImpl* layer, ScrollState* scroll_state) {
- layer_tree_host_impl_->ApplyScroll(layer, scroll_state);
+ void ApplyScroll(ScrollNode* scroll_node, ScrollState* scroll_state) {
+ layer_tree_host_impl_->ApplyScroll(scroll_node, scroll_state);
}
// Call this function when you expect there to be a swap buffer.
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698