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

Unified Diff: cc/trees/layer_tree_host_common_unittest.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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common_unittest.cc
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
index 31f5343c3f913aa43a32c3e361e73d5855868294..45782b01bf6d9403e695142a57a70c7010b534cf 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -10674,7 +10674,7 @@ TEST_F(LayerTreeHostCommonTest, ScrollTreeBuilderTest) {
property_tree_root->scrollable = false;
property_tree_root->main_thread_scrolling_reasons =
MainThreadScrollingReason::kNotScrollingOnMain;
- property_tree_root->contains_non_fast_scrollable_region = false;
+ property_tree_root->non_fast_scrollable_region = Region();
property_tree_root->transform_id = kRootPropertyTreeNodeId;
// The node owned by root1
@@ -10740,7 +10740,7 @@ TEST_F(LayerTreeHostCommonTest, ScrollTreeBuilderTest) {
ScrollNode scroll_parent5;
scroll_parent5.id = 8;
scroll_parent5.owning_layer_id = parent5->id();
- scroll_parent5.contains_non_fast_scrollable_region = true;
+ scroll_parent5.non_fast_scrollable_region = gfx::Rect(0, 0, 50, 50);
scroll_parent5.bounds = gfx::Size(10, 10);
scroll_parent5.should_flatten = true;
scroll_parent5.user_scrollable_horizontal = true;
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698