Index: content/ppapi_plugin/ppapi_thread.cc |
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc |
index 8ef6d6b3b587619aed312c5f9b44bdb4d86ceb8d..6450cf81590e151af70a98f3de7bece994b48610 100644 |
--- a/content/ppapi_plugin/ppapi_thread.cc |
+++ b/content/ppapi_plugin/ppapi_thread.cc |
@@ -256,7 +256,7 @@ void PpapiThread::OnMsgSetNetworkState(bool online) { |
void PpapiThread::OnPluginDispatcherMessageReceived(const IPC::Message& msg) { |
// The first parameter should be a plugin dispatcher ID. |
- void* iter = NULL; |
+ PickleIterator iter(msg); |
uint32 id = 0; |
if (!msg.ReadUInt32(&iter, &id)) { |
NOTREACHED(); |