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

Unified Diff: cc/layer_tree_host_unittest_scroll.cc

Issue 12090014: Add a bit to not bubble scrolls to parent scrolling layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/layer_tree_host_unittest_scroll.cc
diff --git a/cc/layer_tree_host_unittest_scroll.cc b/cc/layer_tree_host_unittest_scroll.cc
index bfb5e5f2157f4274a5ae00d0a94443bfe7858925..8889c7c4a54ca9611332060ce97f56256cee6764 100644
--- a/cc/layer_tree_host_unittest_scroll.cc
+++ b/cc/layer_tree_host_unittest_scroll.cc
@@ -375,7 +375,7 @@ class LayerTreeHostScrollTestCaseWithChild :
gfx::Vector2dF(0.5f, 0.5f)),
InputHandlerClient::Gesture);
EXPECT_EQ(InputHandlerClient::ScrollStarted, status);
- impl->scrollBy(gfx::Point(), scroll_amount_);
+ impl->scrollBy(gfx::Point(), scroll_amount_, true);
impl->scrollEnd();
// Check the scroll is applied as a delta.
@@ -395,7 +395,7 @@ class LayerTreeHostScrollTestCaseWithChild :
gfx::Vector2dF(0.5f, 0.5f)),
InputHandlerClient::Wheel);
EXPECT_EQ(InputHandlerClient::ScrollStarted, status);
- impl->scrollBy(gfx::Point(), scroll_amount_);
+ impl->scrollBy(gfx::Point(), scroll_amount_, true);
impl->scrollEnd();
// Check the scroll is applied as a delta.

Powered by Google App Engine
This is Rietveld 408576698