Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 686efc3695cdabacd36546ffaeb97d6db6c51db5..179dbb94eb94a3dbe8680cacb05ddf02bde08304 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -2206,7 +2206,7 @@ TEST_F(LayerTreeHostImplTest, ScrollNonAxisAlignedRotatedLayer) { |
// Scroll down in screen coordinates with a gesture. |
gfx::Vector2d gesture_scroll_delta(0, 10); |
EXPECT_EQ(InputHandler::ScrollStarted, |
- host_impl_->ScrollBegin(gfx::Point(), |
+ host_impl_->ScrollBegin(gfx::Point(1, 1), |
danakj
2013/09/09 17:57:45
Why is this needed? Can you add a comment explaini
enne (OOO)
2013/09/10 22:32:32
Yeah, when this is floating point the origin no lo
|
InputHandler::Gesture)); |
host_impl_->ScrollBy(gfx::Point(), gesture_scroll_delta); |
host_impl_->ScrollEnd(); |
@@ -2231,7 +2231,7 @@ TEST_F(LayerTreeHostImplTest, ScrollNonAxisAlignedRotatedLayer) { |
gfx::Vector2dF()); |
gfx::Vector2d gesture_scroll_delta(10, 0); |
EXPECT_EQ(InputHandler::ScrollStarted, |
- host_impl_->ScrollBegin(gfx::Point(), |
+ host_impl_->ScrollBegin(gfx::Point(1, 1), |
InputHandler::Gesture)); |
host_impl_->ScrollBy(gfx::Point(), gesture_scroll_delta); |
host_impl_->ScrollEnd(); |