Index: content/common/resource_dispatcher.cc |
diff --git a/content/common/resource_dispatcher.cc b/content/common/resource_dispatcher.cc |
index e824c6f0bc61b1ebd5ae4f39515b933f89cae8a4..69937efa1389c88ecdbf3995f56d43da81b5f1d3 100644 |
--- a/content/common/resource_dispatcher.cc |
+++ b/content/common/resource_dispatcher.cc |
@@ -293,7 +293,7 @@ bool ResourceDispatcher::OnMessageReceived(const IPC::Message& message) { |
int request_id; |
- void* iter = NULL; |
+ PickleIterator iter(message); |
if (!message.ReadInt(&iter, &request_id)) { |
NOTREACHED() << "malformed resource message"; |
return true; |
@@ -677,7 +677,7 @@ bool ResourceDispatcher::IsResourceDispatcherMessage( |
// static |
void ResourceDispatcher::ReleaseResourcesInDataMessage( |
const IPC::Message& message) { |
- void* iter = NULL; |
+ PickleIterator iter(message); |
int request_id; |
if (!message.ReadInt(&iter, &request_id)) { |
NOTREACHED() << "malformed resource message"; |