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

Unified Diff: chrome/common/ipc_message_utils.h

Issue 155386: ipc: Fix IPC message logging type. (Closed)
Patch Set: shorter Created 11 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/ipc_message_utils.h
diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h
index c63eb6c18c89b4d9f93d4d91fd4e4d2c0b7ea67f..20f8706fbc419bcda338f8cf135a9d5413a7799a 100644
--- a/chrome/common/ipc_message_utils.h
+++ b/chrome/common/ipc_message_utils.h
@@ -770,7 +770,7 @@ struct ParamTraits<IPC::ChannelHandle> {
;
}
static void Log(const param_type& p, std::wstring* l) {
- l->append(StringPrintf(L"ChannelHandle(%s", p.name.c_str()));
+ l->append(ASCIIToWide(StringPrintf("ChannelHandle(%s", p.name.c_str())));
#if defined(OS_POSIX)
ParamTraits<base::FileDescriptor>::Log(p.socket, l);
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698