Index: content/renderer/input/input_handler_proxy_unittest.cc |
diff --git a/content/renderer/input/input_handler_proxy_unittest.cc b/content/renderer/input/input_handler_proxy_unittest.cc |
index cb85701ec9dd30c531965a6330ea504458d4c36e..ad715ac5da825153da5ab5f4fd43911bfe766be4 100644 |
--- a/content/renderer/input/input_handler_proxy_unittest.cc |
+++ b/content/renderer/input/input_handler_proxy_unittest.cc |
@@ -288,12 +288,12 @@ TEST_F(InputHandlerProxyTest, MouseWheelByPageMainThread) { |
testing::Mock::VerifyAndClearExpectations(&mock_client_); |
} |
-TEST_F(InputHandlerProxyTest, MouseWheelWithCtrl) { |
+TEST_F(InputHandlerProxyTest, MouseWheelWithCtrlNotScroll) { |
expected_disposition_ = InputHandlerProxy::DID_NOT_HANDLE; |
WebMouseWheelEvent wheel; |
wheel.type = WebInputEvent::MouseWheel; |
wheel.modifiers = WebInputEvent::ControlKey; |
- |
+ wheel.canScroll = false; |
EXPECT_EQ(expected_disposition_, input_handler_->HandleInputEvent(wheel)); |
testing::Mock::VerifyAndClearExpectations(&mock_client_); |
} |