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

Unified Diff: content/public/common/common_param_traits.h

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 | « content/common/ssl_status_serialization.cc ('k') | content/public/common/common_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/common_param_traits.h
diff --git a/content/public/common/common_param_traits.h b/content/public/common/common_param_traits.h
index 657ef646c71986ab629dffe8f763700df8017a6c..52d7a2f8c9b7f37af21ec992a6d99b9d329cac50 100644
--- a/content/public/common/common_param_traits.h
+++ b/content/public/common/common_param_traits.h
@@ -89,11 +89,11 @@ struct ParamTraits<gfx::NativeWindow> {
}
static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
#if defined(OS_WIN)
- return m->ReadUInt32(iter, reinterpret_cast<uint32*>(r));
+ return iter->ReadUInt32(reinterpret_cast<uint32*>(r));
#else
const char *data;
int data_size = 0;
- bool result = m->ReadData(iter, &data, &data_size);
+ bool result = iter->ReadData(&data, &data_size);
if (result && data_size == sizeof(gfx::NativeWindow)) {
memcpy(r, data, sizeof(gfx::NativeWindow));
} else {
« no previous file with comments | « content/common/ssl_status_serialization.cc ('k') | content/public/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698