| Index: content/child/resource_dispatcher.cc
|
| diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
|
| index 7cbc7fa53e3249f3e79802d1b407a3cf02f3a70e..e5fb19a5f89bec2f13e4f7fbaf9cf4dc38770653 100644
|
| --- a/content/child/resource_dispatcher.cc
|
| +++ b/content/child/resource_dispatcher.cc
|
| @@ -311,7 +311,7 @@
|
| int request_id;
|
|
|
| PickleIterator iter(message);
|
| - if (!iter.ReadInt(&request_id)) {
|
| + if (!message.ReadInt(&iter, &request_id)) {
|
| NOTREACHED() << "malformed resource message";
|
| return true;
|
| }
|
| @@ -874,7 +874,7 @@
|
| const IPC::Message& message) {
|
| PickleIterator iter(message);
|
| int request_id;
|
| - if (!iter.ReadInt(&request_id)) {
|
| + if (!message.ReadInt(&iter, &request_id)) {
|
| NOTREACHED() << "malformed resource message";
|
| return;
|
| }
|
|
|