| Index: ppapi/proxy/ppapi_param_traits.cc
|
| diff --git a/ppapi/proxy/ppapi_param_traits.cc b/ppapi/proxy/ppapi_param_traits.cc
|
| index 94ec2e69bfc2007c3cc5d589f413e9d62135c785..1623395924e5ef057403dbeb4415b08b013dc595 100644
|
| --- a/ppapi/proxy/ppapi_param_traits.cc
|
| +++ b/ppapi/proxy/ppapi_param_traits.cc
|
| @@ -43,7 +43,7 @@
|
| // This part is just a copy of the the default ParamTraits vector Read().
|
| int size;
|
| // ReadLength() checks for < 0 itself.
|
| - if (!iter->ReadLength(&size))
|
| + if (!m->ReadLength(iter, &size))
|
| return false;
|
| // Resizing beforehand is not safe, see BUG 1006367 for details.
|
| if (INT_MAX / sizeof(T) <= static_cast<size_t>(size))
|
| @@ -118,7 +118,7 @@
|
| p->size = size;
|
|
|
| const char* data;
|
| - if (!iter->ReadBytes(&data, size))
|
| + if (!m->ReadBytes(iter, &data, size))
|
| return false;
|
| memcpy(p->data, data, size);
|
| return true;
|
|
|