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

Unified Diff: content/common/gamepad_param_traits.cc

Issue 1154283003: Change most uses of Pickle to base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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/font_config_ipc_linux.cc ('k') | content/common/indexed_db/indexed_db_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gamepad_param_traits.cc
diff --git a/content/common/gamepad_param_traits.cc b/content/common/gamepad_param_traits.cc
index cc60d7c86cd6d7301e08595c588e472a08a69b47..cbc7e6aa088a3efe733411186c58fc3ee48a9f90 100644
--- a/content/common/gamepad_param_traits.cc
+++ b/content/common/gamepad_param_traits.cc
@@ -36,10 +36,9 @@ void ParamTraits<WebGamepad>::Write(
m->WriteData(reinterpret_cast<const char*>(&p), sizeof(WebGamepad));
}
-bool ParamTraits<WebGamepad>::Read(
- const Message* m,
- PickleIterator* iter,
- WebGamepad* p) {
+bool ParamTraits<WebGamepad>::Read(const Message* m,
+ base::PickleIterator* iter,
+ WebGamepad* p) {
int length;
const char* data;
if (!iter->ReadData(&data, &length) || length != sizeof(WebGamepad))
« no previous file with comments | « content/common/font_config_ipc_linux.cc ('k') | content/common/indexed_db/indexed_db_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698