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

Unified Diff: chrome/common/cast_messages.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 | « chrome/common/cast_messages.h ('k') | chrome/common/content_settings_pattern_serializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/cast_messages.cc
diff --git a/chrome/common/cast_messages.cc b/chrome/common/cast_messages.cc
index a67c4b59d2bb30b2890a1dae511fed7a0dd68927..9cbbb118b81db5fa08d7d494c7bcdfef9ba70e70 100644
--- a/chrome/common/cast_messages.cc
+++ b/chrome/common/cast_messages.cc
@@ -6,13 +6,14 @@
namespace IPC {
-void ParamTraits<media::cast::RtpTimeTicks>::Write(Message* m,
+void ParamTraits<media::cast::RtpTimeTicks>::Write(base::Pickle* m,
const param_type& p) {
ParamTraits<uint64_t>::Write(m, p.SerializeForIPC());
}
-bool ParamTraits<media::cast::RtpTimeTicks>::Read(
- const Message* m, base::PickleIterator* iter, param_type* r) {
+bool ParamTraits<media::cast::RtpTimeTicks>::Read(const base::Pickle* m,
+ base::PickleIterator* iter,
+ param_type* r) {
uint64_t serialized = UINT64_C(0);
if (ParamTraits<uint64_t>::Read(m, iter, &serialized)) {
*r = param_type::DeserializeForIPC(serialized);
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/common/content_settings_pattern_serializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698