| Index: content/renderer/gpu/input_handler_proxy_unittest.cc
|
| diff --git a/content/renderer/gpu/input_handler_proxy_unittest.cc b/content/renderer/gpu/input_handler_proxy_unittest.cc
|
| index 14ea2b37dea5fc9db09b988d6d0475360ed7ec52..0abf8039e44b9d4208d366e111586aee05664036 100644
|
| --- a/content/renderer/gpu/input_handler_proxy_unittest.cc
|
| +++ b/content/renderer/gpu/input_handler_proxy_unittest.cc
|
| @@ -50,9 +50,6 @@ class MockInputHandler : public cc::InputHandler {
|
| MOCK_METHOD0(ScrollEnd, void());
|
| MOCK_METHOD0(FlingScrollBegin, cc::InputHandler::ScrollStatus());
|
|
|
| - MOCK_METHOD1(DidReceiveLastInputEventForBeginFrame,
|
| - void(base::TimeTicks time));
|
| -
|
| virtual void BindToClient(cc::InputHandlerClient* client) OVERRIDE {}
|
|
|
| virtual void StartPageScaleAnimation(gfx::Vector2d target_offset,
|
| @@ -952,20 +949,6 @@ TEST_F(InputHandlerProxyTest,
|
| EXPECT_TRUE(!input_handler_->gesture_scroll_on_impl_thread_for_testing());
|
| }
|
|
|
| -TEST_F(InputHandlerProxyTest, LastInputEventForVSync) {
|
| - expected_disposition_ = InputHandlerProxy::DROP_EVENT;
|
| - VERIFY_AND_RESET_MOCKS();
|
| -
|
| - gesture_.type = WebInputEvent::GestureFlingCancel;
|
| - gesture_.timeStampSeconds = 1234;
|
| - base::TimeTicks time =
|
| - base::TimeTicks() +
|
| - base::TimeDelta::FromSeconds(gesture_.timeStampSeconds);
|
| - gesture_.modifiers |= WebInputEvent::IsLastInputEventForCurrentVSync;
|
| - EXPECT_CALL(mock_input_handler_, DidReceiveLastInputEventForBeginFrame(time));
|
| - EXPECT_EQ(expected_disposition_, input_handler_->HandleInputEvent(gesture_));
|
| -}
|
| -
|
| TEST_F(InputHandlerProxyTest, GestureFlingStopsAtContentEdge) {
|
| // We shouldn't send any events to the widget for this gesture.
|
| expected_disposition_ = InputHandlerProxy::DID_HANDLE;
|
|
|