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

Unified Diff: cc/trees/scroll_node.cc

Issue 2714043002: Store non-fast scrollable regions on ScrollNode (Closed)
Patch Set: Rebase from space 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/scroll_node.cc
diff --git a/cc/trees/scroll_node.cc b/cc/trees/scroll_node.cc
index ef3498a6712f7a44009d3ef2449d3527d1a3a7e0..050dbf00294a9e283da0a5752a7a38c8f6a95127 100644
--- a/cc/trees/scroll_node.cc
+++ b/cc/trees/scroll_node.cc
@@ -19,7 +19,6 @@ ScrollNode::ScrollNode()
scrollable(false),
main_thread_scrolling_reasons(
MainThreadScrollingReason::kNotScrollingOnMain),
- contains_non_fast_scrollable_region(false),
max_scroll_offset_affected_by_page_scale(false),
scrolls_inner_viewport(false),
scrolls_outer_viewport(false),
@@ -35,8 +34,7 @@ bool ScrollNode::operator==(const ScrollNode& other) const {
owning_layer_id == other.owning_layer_id &&
scrollable == other.scrollable &&
main_thread_scrolling_reasons == other.main_thread_scrolling_reasons &&
- contains_non_fast_scrollable_region ==
- other.contains_non_fast_scrollable_region &&
+ non_fast_scrollable_region == other.non_fast_scrollable_region &&
scroll_clip_layer_bounds == other.scroll_clip_layer_bounds &&
bounds == other.bounds &&
max_scroll_offset_affected_by_page_scale ==
« no previous file with comments | « cc/trees/scroll_node.h ('k') | third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698