Index: content/renderer/input/input_event_filter_unittest.cc |
diff --git a/content/renderer/input/input_event_filter_unittest.cc b/content/renderer/input/input_event_filter_unittest.cc |
index cfcc937cef0c11775a273d2570809779022f22ab..a234e793fdc29a82ab270086fdfd123a69b041ef 100644 |
--- a/content/renderer/input/input_event_filter_unittest.cc |
+++ b/content/renderer/input/input_event_filter_unittest.cc |
@@ -180,8 +180,8 @@ TEST_F(InputEventFilterTest, Basic) { |
InputHostMsg_HandleInputEvent_ACK::Param params; |
EXPECT_TRUE(InputHostMsg_HandleInputEvent_ACK::Read(message, ¶ms)); |
- WebInputEvent::Type event_type = params.a; |
- InputEventAckState ack_result = params.b; |
+ WebInputEvent::Type event_type = params.a.type; |
+ InputEventAckState ack_result = params.a.state; |
EXPECT_EQ(kEvents[i].type, event_type); |
EXPECT_EQ(ack_result, INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS); |
@@ -232,8 +232,8 @@ TEST_F(InputEventFilterTest, Basic) { |
InputHostMsg_HandleInputEvent_ACK::Param params; |
EXPECT_TRUE(InputHostMsg_HandleInputEvent_ACK::Read(message, ¶ms)); |
- WebInputEvent::Type event_type = params.a; |
- InputEventAckState ack_result = params.b; |
+ WebInputEvent::Type event_type = params.a.type; |
+ InputEventAckState ack_result = params.a.state; |
EXPECT_EQ(kEvents[i].type, event_type); |
EXPECT_EQ(ack_result, INPUT_EVENT_ACK_STATE_CONSUMED); |
} |