Index: chrome/browser/automation/url_request_automation_job.cc |
diff --git a/chrome/browser/automation/url_request_automation_job.cc b/chrome/browser/automation/url_request_automation_job.cc |
index c5b3d70a0518743ac433721aa60cd3ea7fa9738f..231a4c558f7a596219b6e5235c4728a8377f274c 100644 |
--- a/chrome/browser/automation/url_request_automation_job.cc |
+++ b/chrome/browser/automation/url_request_automation_job.cc |
@@ -253,7 +253,7 @@ bool URLRequestAutomationJob::MayFilterMessage(const IPC::Message& message, |
case AutomationMsg_RequestStarted::ID: |
case AutomationMsg_RequestData::ID: |
case AutomationMsg_RequestEnd::ID: { |
- void* iter = NULL; |
+ PickleIterator iter(message); |
if (message.ReadInt(&iter, request_id)) |
return true; |
break; |