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

Unified Diff: ipc/ipc_message.cc

Issue 818833004: Remove deprecated methods from Pickle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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_fuzzing_tests.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message.cc
diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc
index 82b136ac2055a5f7b2f588ce617934dbf3e33ab1..a6219fe5ce46e3b2d9e725bec12b98810ad9c4e1 100644
--- a/ipc/ipc_message.cc
+++ b/ipc/ipc_message.cc
@@ -139,7 +139,7 @@ bool Message::WriteBorrowingFile(const base::PlatformFile& descriptor) {
bool Message::ReadFile(PickleIterator* iter, base::ScopedFD* descriptor) const {
int descriptor_index;
- if (!ReadInt(iter, &descriptor_index))
+ if (!iter->ReadInt(&descriptor_index))
return false;
FileDescriptorSet* file_descriptor_set = file_descriptor_set_.get();
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698