commit | 48fc13b16667c53399774daeccdb1ce5a625578f | [log] [tgz] |
---|---|---|
author | avi <[email protected]> | Sun Dec 28 23:31:48 2014 |
committer | Commit bot <[email protected]> | Sun Dec 28 23:32:58 2014 |
tree | c8bcbfa3152d2d1e38e2fc0633ae4763b73eaa33 | |
parent | afa7602b2e8b0f3640ab681b8132a970bd133933 [diff] [blame] |
Remove deprecated methods from Pickle. BUG=444578 TEST=none [email protected] [email protected] Committed: https://chromium.googlesource.com/chromium/src/+/b740bfe23ae7ad244356a4a7538b95ae560251db Review URL: https://codereview.chromium.org/818833004 Cr-Commit-Position: refs/heads/master@{#309691}
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index 0852993..1ff3543 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc
@@ -1005,7 +1005,7 @@ case Channel::HELLO_MESSAGE_TYPE: int pid; - if (!msg.ReadInt(&iter, &pid)) + if (!iter.ReadInt(&pid)) NOTREACHED(); #if defined(IPC_USES_READWRITE) @@ -1028,9 +1028,9 @@ #if defined(OS_MACOSX) case Channel::CLOSE_FD_MESSAGE_TYPE: int fd, hops; - if (!msg.ReadInt(&iter, &hops)) + if (!iter.ReadInt(&hops)) NOTREACHED(); - if (!msg.ReadInt(&iter, &fd)) + if (!iter.ReadInt(&fd)) NOTREACHED(); if (hops == 0) { if (fds_to_close_.erase(fd) > 0) {