Index: ppapi/proxy/resource_message_test_sink.cc |
=================================================================== |
--- ppapi/proxy/resource_message_test_sink.cc (revision 270218) |
+++ ppapi/proxy/resource_message_test_sink.cc (working copy) |
@@ -22,9 +22,10 @@ |
for (size_t i = 0; i < sink.message_count(); i++) { |
const IPC::Message* msg = sink.GetMessageAt(i); |
if (msg->type() == WrapperMessage::ID) { |
- Params cur_params; |
- IPC::Message cur_msg; |
- WrapperMessage::Read(msg, &cur_params, &cur_msg); |
+ typename WrapperMessage::Param params; |
+ WrapperMessage::Read(msg, ¶ms); |
+ Params cur_params = params.a; |
+ IPC::Message cur_msg = params.b; |
if (cur_msg.type() == id) { |
result.push_back(std::make_pair(cur_params, cur_msg)); |
} |