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

Unified Diff: ipc/ipc_logging.cc

Issue 10701052: This change list fixed the issue of #135391, sometimes the channel_id of Logged IPC message is empty (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_logging.cc
diff --git a/ipc/ipc_logging.cc b/ipc/ipc_logging.cc
index 25286b183690095a4e2c36501ef6cbbd3d1efa83..9dde5a574f3715fbd3f35b75f2e7f8d697a3fe90 100644
--- a/ipc/ipc_logging.cc
+++ b/ipc/ipc_logging.cc
@@ -130,8 +130,8 @@ void Logging::OnSendMessage(Message* message, const std::string& channel_id) {
// This is actually the delayed reply to a sync message. Create a string
// of the output parameters, add it to the LogData that was earlier stashed
// with the reply, and log the result.
- data->channel = channel_id;
GenerateLogData("", *message, data, true);
+ data->channel = channel_id;
Log(*data);
delete data;
message->set_sync_log_data(NULL);
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698