summaryrefslogtreecommitdiffstats
path: root/content/test/mock_render_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/test/mock_render_thread.cc')
-rw-r--r--content/test/mock_render_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/test/mock_render_thread.cc b/content/test/mock_render_thread.cc
index 1663531..ce74409 100644
--- a/content/test/mock_render_thread.cc
+++ b/content/test/mock_render_thread.cc
@@ -24,7 +24,7 @@ void MockRenderThread::VerifyRunJavaScriptMessageSend(
const IPC::Message* alert_msg =
sink_.GetUniqueMessageMatching(ViewHostMsg_RunJavaScriptMessage::ID);
ASSERT_TRUE(alert_msg);
- void* iter = IPC::SyncMessage::GetDataIterator(alert_msg);
+ PickleIterator iter = IPC::SyncMessage::GetDataIterator(alert_msg);
ViewHostMsg_RunJavaScriptMessage::SendParam alert_param;
ASSERT_TRUE(IPC::ReadParam(alert_msg, &iter, &alert_param));
EXPECT_EQ(expected_alert_message, alert_param.a);