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

Unified Diff: ipc/ipc_message_utils.cc

Issue 11468030: proof of concept for building with libc++ Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works. needs breakpad patch too. Created 8 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 | « chrome/tools/build/mac/verify_order ('k') | third_party/protobuf/src/google/protobuf/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index 4cc84949d4f3a147e1770db029c19db608d44fa3..32836d9dfada99905f3ca2146c4374703e0cdcb8 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -431,7 +431,7 @@ void ParamTraits<std::vector<unsigned char> >::Log(const param_type& p,
void ParamTraits<std::vector<bool> >::Write(Message* m, const param_type& p) {
WriteParam(m, static_cast<int>(p.size()));
for (size_t i = 0; i < p.size(); i++)
- WriteParam(m, p[i]);
+ WriteParam(m, (bool)p[i]);
}
bool ParamTraits<std::vector<bool> >::Read(const Message* m,
@@ -455,7 +455,7 @@ void ParamTraits<std::vector<bool> >::Log(const param_type& p, std::string* l) {
for (size_t i = 0; i < p.size(); ++i) {
if (i != 0)
l->push_back(' ');
- LogParam((p[i]), l);
+ LogParam(((bool)p[i]), l);
}
}
« no previous file with comments | « chrome/tools/build/mac/verify_order ('k') | third_party/protobuf/src/google/protobuf/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698