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

Unified Diff: cc/trees/property_tree_builder.cc

Issue 2714043002: Store non-fast scrollable regions on ScrollNode (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/trees/property_tree_builder.cc
diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
index af02c5f5c62a58350abcf55edf66c54eb589d4ce..d9d48605fd3d3cdb15447f7654bb28e804ddd6a9 100644
--- a/cc/trees/property_tree_builder.cc
+++ b/cc/trees/property_tree_builder.cc
@@ -1163,8 +1163,7 @@ void AddScrollNodeIfNeeded(
node.owning_layer_id = layer->id();
node.scrollable = scrollable;
node.main_thread_scrolling_reasons = main_thread_scrolling_reasons;
- node.contains_non_fast_scrollable_region =
- contains_non_fast_scrollable_region;
+ node.non_fast_scrollable_region = layer->non_fast_scrollable_region();
ajuma 2017/02/24 14:27:57 Is LayerImpl::non_fast_scrollable_region_ now unus
pdr. 2017/02/27 23:40:22 This is used by debug_rect_history too. I started
pdr. 2017/02/28 19:36:47 Are you okay with not doing this in this patch?
ajuma 2017/02/28 19:38:59 Yeah, leaving that for later sgtm.
gfx::Size clip_bounds;
if (layer->scroll_clip_layer()) {
clip_bounds = layer->scroll_clip_layer()->bounds();
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/scroll_node.h » ('j') | cc/trees/scroll_node.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698