| Index: content/browser/zygote_host/zygote_host_impl_linux.cc
|
| diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
|
| index f7774e550a9a464710ea58060c15ea1fa680a9ea..c2f1c908c0a50bb9b22f587f4729009e8a8d13a7 100644
|
| --- a/content/browser/zygote_host/zygote_host_impl_linux.cc
|
| +++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
|
| @@ -369,7 +369,7 @@
|
|
|
| Pickle reply_pickle(buf, len);
|
| PickleIterator iter(reply_pickle);
|
| - if (len <= 0 || !iter.ReadInt(&pid))
|
| + if (len <= 0 || !reply_pickle.ReadInt(&iter, &pid))
|
| return base::kNullProcessHandle;
|
|
|
| // If there is a nonempty UMA name string, then there is a UMA
|
| @@ -377,10 +377,10 @@
|
| std::string uma_name;
|
| int uma_sample;
|
| int uma_boundary_value;
|
| - if (iter.ReadString(&uma_name) &&
|
| + if (reply_pickle.ReadString(&iter, &uma_name) &&
|
| !uma_name.empty() &&
|
| - iter.ReadInt(&uma_sample) &&
|
| - iter.ReadInt(&uma_boundary_value)) {
|
| + reply_pickle.ReadInt(&iter, &uma_sample) &&
|
| + reply_pickle.ReadInt(&iter, &uma_boundary_value)) {
|
| // We cannot use the UMA_HISTOGRAM_ENUMERATION macro here,
|
| // because that's only for when the name is the same every time.
|
| // Here we're using whatever name we got from the other side.
|
| @@ -532,7 +532,8 @@
|
| Pickle read_pickle(buf, len);
|
| int tmp_status, tmp_exit_code;
|
| PickleIterator iter(read_pickle);
|
| - if (!iter.ReadInt(&tmp_status) || !iter.ReadInt(&tmp_exit_code)) {
|
| + if (!read_pickle.ReadInt(&iter, &tmp_status) ||
|
| + !read_pickle.ReadInt(&iter, &tmp_exit_code)) {
|
| LOG(WARNING)
|
| << "Error parsing GetTerminationStatus response from zygote.";
|
| } else {
|
|
|