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

Unified Diff: content/common/gamepad_param_traits.cc

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/font_config_ipc_linux.cc ('k') | content/common/media/media_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 356d8753dfac0bfae7fd812a50d30eb58aeb8039..cc60d7c86cd6d7301e08595c588e472a08a69b47 100644
--- a/content/common/gamepad_param_traits.cc
+++ b/content/common/gamepad_param_traits.cc
@@ -42,7 +42,7 @@ bool ParamTraits<WebGamepad>::Read(
WebGamepad* p) {
int length;
const char* data;
- if (!m->ReadData(iter, &data, &length) || length != sizeof(WebGamepad))
+ if (!iter->ReadData(&data, &length) || length != sizeof(WebGamepad))
return false;
memcpy(p, data, sizeof(WebGamepad));
« no previous file with comments | « content/common/font_config_ipc_linux.cc ('k') | content/common/media/media_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698