Index: content/renderer/render_widget_unittest.cc |
diff --git a/content/renderer/render_widget_unittest.cc b/content/renderer/render_widget_unittest.cc |
index c84c7544a09d504c456a6f99a200f496fd9c2cd4..f8f145dd567e17bdb3460e5cf5b543e5a5b5d5de 100644 |
--- a/content/renderer/render_widget_unittest.cc |
+++ b/content/renderer/render_widget_unittest.cc |
@@ -89,7 +89,7 @@ TEST_F(RenderWidgetUnittest, TouchHitTestSinglePoint) { |
EXPECT_EQ(InputHostMsg_HandleInputEvent_ACK::ID, message->type()); |
InputHostMsg_HandleInputEvent_ACK::Param params; |
InputHostMsg_HandleInputEvent_ACK::Read(message, ¶ms); |
- InputEventAckState ack_state = params.b; |
+ InputEventAckState ack_state = params.a.state; |
EXPECT_EQ(INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS, ack_state); |
widget->sink()->ClearMessages(); |
@@ -103,7 +103,7 @@ TEST_F(RenderWidgetUnittest, TouchHitTestSinglePoint) { |
message = widget->sink()->GetMessageAt(0); |
EXPECT_EQ(InputHostMsg_HandleInputEvent_ACK::ID, message->type()); |
InputHostMsg_HandleInputEvent_ACK::Read(message, ¶ms); |
- ack_state = params.b; |
+ ack_state = params.a.state; |
EXPECT_EQ(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, ack_state); |
widget->sink()->ClearMessages(); |
} |
@@ -127,7 +127,7 @@ TEST_F(RenderWidgetUnittest, TouchHitTestMultiplePoints) { |
EXPECT_EQ(InputHostMsg_HandleInputEvent_ACK::ID, message->type()); |
InputHostMsg_HandleInputEvent_ACK::Param params; |
InputHostMsg_HandleInputEvent_ACK::Read(message, ¶ms); |
- InputEventAckState ack_state = params.b; |
+ InputEventAckState ack_state = params.a.state; |
EXPECT_EQ(INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS, ack_state); |
widget->sink()->ClearMessages(); |
@@ -138,7 +138,7 @@ TEST_F(RenderWidgetUnittest, TouchHitTestMultiplePoints) { |
message = widget->sink()->GetMessageAt(0); |
EXPECT_EQ(InputHostMsg_HandleInputEvent_ACK::ID, message->type()); |
InputHostMsg_HandleInputEvent_ACK::Read(message, ¶ms); |
- ack_state = params.b; |
+ ack_state = params.a.state; |
EXPECT_EQ(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, ack_state); |
widget->sink()->ClearMessages(); |
} |