Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: ipc/ipc_sync_message.cc

Issue 825353003: Revert of Remove deprecated methods from Pickle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ipc/param_traits_read_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_message.cc
diff --git a/ipc/ipc_sync_message.cc b/ipc/ipc_sync_message.cc
index fd6dc471d591fb8bf1e8049114638783b9b5db5e..9e3acf8e1fae1dba5a46469dae1e77b2513cd19b 100644
--- a/ipc/ipc_sync_message.cc
+++ b/ipc/ipc_sync_message.cc
@@ -113,7 +113,7 @@
DCHECK(msg.is_sync() || msg.is_reply());
PickleIterator iter(msg);
- bool result = iter.ReadInt(&header->message_id);
+ bool result = msg.ReadInt(&iter, &header->message_id);
if (!result) {
NOTREACHED();
return false;
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ipc/param_traits_read_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698