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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 1840883002: cc : Calculate jitter without using layer hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 8bda30b4b010ce1e23ec75779745aa7e6e5d684a..4d6c1ff4ede22d5238dafd77b9477310ddd16c8a 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -193,7 +193,7 @@ class CC_EXPORT LayerTreeImpl {
LayerImpl* InnerViewportContainerLayer() const;
LayerImpl* OuterViewportContainerLayer() const;
LayerImpl* CurrentlyScrollingLayer() const;
- int LastScrolledLayerId() const;
+ int LastScrolledScrollNodeId() const;
void SetCurrentlyScrollingLayer(LayerImpl* layer);
void ClearCurrentlyScrollingLayer();
@@ -510,7 +510,7 @@ class CC_EXPORT LayerTreeImpl {
SkColor background_color_;
bool has_transparent_background_;
- int last_scrolled_layer_id_;
+ int last_scrolled_scroll_node_id_;
ajuma 2016/03/29 14:24:02 We already have a currently_scrolling_node_id on t
jaydasika 2016/03/29 15:57:24 I think we need this as the one on scroll tree is
ajuma 2016/03/29 16:52:07 Ah, makes sense. Does this need to get updated on
jaydasika 2016/03/29 18:30:19 It gets updated every activation here : https://co
ajuma 2016/03/29 18:50:04 When the layer passed to SetCurrentlyScrollingLaye
int overscroll_elasticity_layer_id_;
int page_scale_layer_id_;
int inner_viewport_scroll_layer_id_;

Powered by Google App Engine
This is Rietveld 408576698