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

Unified Diff: content/common/content_param_traits.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 | « content/common/common_param_traits_unittest.cc ('k') | content/common/font_config_ipc_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_param_traits.cc
diff --git a/content/common/content_param_traits.cc b/content/common/content_param_traits.cc
index 21e188b29065c5505f35aef8b69c300a086f1877..0f1ba055121f573a92e9296fd8773caf9ef95d72 100644
--- a/content/common/content_param_traits.cc
+++ b/content/common/content_param_traits.cc
@@ -20,7 +20,7 @@
PickleIterator* iter,
gfx::Range* r) {
size_t start, end;
- if (!iter->ReadSizeT(&start) || !iter->ReadSizeT(&end))
+ if (!m->ReadSizeT(iter, &start) || !m->ReadSizeT(iter, &end))
return false;
r->set_start(start);
r->set_end(end);
@@ -40,7 +40,7 @@
param_type* r) {
const char* data;
int data_length;
- if (!iter->ReadData(&data, &data_length)) {
+ if (!m->ReadData(iter, &data, &data_length)) {
NOTREACHED();
return false;
}
« no previous file with comments | « content/common/common_param_traits_unittest.cc ('k') | content/common/font_config_ipc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698