Index: content/browser/renderer_host/input/input_router_impl_unittest.cc |
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc |
index 034eb5ba27b2b3331739dd2c0ff9348903f5fa92..2de2ffb7221de760637a578c95bf0bfc4c88b581 100644 |
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc |
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc |
@@ -22,7 +22,6 @@ |
#include "content/common/input/touch_action.h" |
#include "content/common/input/web_input_event_traits.h" |
#include "content/common/input_messages.h" |
-#include "content/common/view_messages.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/test/mock_render_process_host.h" |
#include "content/public/test/test_browser_context.h" |
@@ -316,7 +315,7 @@ class InputRouterImplTest : public testing::Test { |
void OnHasTouchEventHandlers(bool has_handlers) { |
input_router_->OnMessageReceived( |
- ViewHostMsg_HasTouchEventHandlers(0, has_handlers)); |
+ InputHostMsg_HasTouchEventHandlers(0, has_handlers)); |
} |
void OnSetTouchAction(content::TouchAction touch_action) { |
@@ -859,7 +858,7 @@ TEST_F(InputRouterImplTest, TouchEventQueueFlush) { |
// Tests that the acked events have correct state. (ui::Events are used only on |
// windows and aura) |
TEST_F(InputRouterImplTest, AckedTouchEventState) { |
- input_router_->OnMessageReceived(ViewHostMsg_HasTouchEventHandlers(0, true)); |
+ input_router_->OnMessageReceived(InputHostMsg_HasTouchEventHandlers(0, true)); |
EXPECT_EQ(0U, GetSentMessageCountAndResetSink()); |
EXPECT_TRUE(TouchEventQueueEmpty()); |