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

Unified Diff: ui/events/ipc/latency_info_param_traits.cc

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more mac fix Created 4 years, 11 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 | « ui/events/ipc/latency_info_param_traits.h ('k') | ui/gfx/ipc/gfx_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ipc/latency_info_param_traits.cc
diff --git a/ui/events/ipc/latency_info_param_traits.cc b/ui/events/ipc/latency_info_param_traits.cc
index 27d9ab6736ff790744f846abe4deb184661921e1..0bb2edc078a1da991e5a4ecb36160ddf025a323c 100644
--- a/ui/events/ipc/latency_info_param_traits.cc
+++ b/ui/events/ipc/latency_info_param_traits.cc
@@ -29,8 +29,7 @@ namespace IPC {
#include "ui/events/ipc/latency_info_param_traits.h"
namespace IPC {
-void ParamTraits<ui::LatencyInfo>::Write(Message* m,
- const param_type& p) {
+void ParamTraits<ui::LatencyInfo>::Write(base::Pickle* m, const param_type& p) {
WriteParam(m, p.trace_name_);
WriteParam(m, p.latency_components_);
WriteParam(m, p.input_coordinates_size_);
@@ -45,7 +44,7 @@ void ParamTraits<ui::LatencyInfo>::Write(Message* m,
WriteParam(m, p.terminated_);
}
-bool ParamTraits<ui::LatencyInfo>::Read(const Message* m,
+bool ParamTraits<ui::LatencyInfo>::Read(const base::Pickle* m,
base::PickleIterator* iter,
param_type* p) {
if (!ReadParam(m, iter, &p->trace_name_))
« no previous file with comments | « ui/events/ipc/latency_info_param_traits.h ('k') | ui/gfx/ipc/gfx_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698