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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 1680613002: Adding momentum/overscroll to views:: ScrollViews Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Tableview layout. aaaand I think we are done Created 4 years, 5 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_common.cc ('k') | cc/trees/layer_tree_host_impl.h » ('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 b66c40f8d8a2dfa7f0810644761525ba2ea16332..2e8469c443dbbc226c77c1bdfc4ad16816d6d02b 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -10557,10 +10557,11 @@ TEST_F(LayerTreeHostCommonTest, ScrollTreeBuilderTest) {
scroll_parent5.transform_id = parent5->transform_tree_index();
expected_scroll_tree.Insert(scroll_parent5, 1);
- expected_scroll_tree.SetScrollOffset(parent2->id(), gfx::ScrollOffset(0, 0));
- expected_scroll_tree.SetScrollOffset(child7->id(), gfx::ScrollOffset(0, 0));
- expected_scroll_tree.SetScrollOffset(grand_child11->id(),
- gfx::ScrollOffset(0, 0));
+ gfx::ScrollOffset offset;
+ gfx::ScrollOffset overscroll;
+ expected_scroll_tree.SetScrollOffset(parent2->id(), offset, overscroll);
+ expected_scroll_tree.SetScrollOffset(child7->id(), offset, overscroll);
+ expected_scroll_tree.SetScrollOffset(grand_child11->id(), offset, overscroll);
expected_scroll_tree.set_needs_update(false);
EXPECT_EQ(expected_scroll_tree, scroll_tree);
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698