summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorsamuel.xu@intel.com <samuel.xu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 02:24:32 +0000
committersamuel.xu@intel.com <samuel.xu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 02:24:32 +0000
commita89a21c70614f905580d8759a109094a2e8b8ba7 (patch)
tree680d2f736796f2a91b1087b2d8a4656f4f231b78 /ipc
parent6676453ba1ace6d4f4a946feab7b4efaeafbde95 (diff)
downloadchromium_src-a89a21c70614f905580d8759a109094a2e8b8ba7.zip
chromium_src-a89a21c70614f905580d8759a109094a2e8b8ba7.tar.gz
chromium_src-a89a21c70614f905580d8759a109094a2e8b8ba7.tar.bz2
This change list fixed the issue of #135391, sometimes the channel_id of Logged IPC message is empty
BUG=135391 TEST=about:ipc using debug windows version chromium Review URL: https://chromiumcodereview.appspot.com/10701052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_logging.cc b/ipc/ipc_logging.cc
index 25286b1..9dde5a5 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);