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

Unified Diff: ipc/ipc_channel_reader.cc

Issue 637023002: Misc. cleanup, primarily removing unused locals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove macros.h change Created 6 years, 2 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
Index: ipc/ipc_channel_reader.cc
diff --git a/ipc/ipc_channel_reader.cc b/ipc/ipc_channel_reader.cc
index 28a889a41c55291bcb65faceb99bd0212778838b..f41a0d7737e4656cd279db0de8ef83c2b9e9fbaa 100644
--- a/ipc/ipc_channel_reader.cc
+++ b/ipc/ipc_channel_reader.cc
@@ -80,9 +80,8 @@ bool ChannelReader::DispatchInputData(const char* input_data,
return false;
#ifdef IPC_MESSAGE_LOG_ENABLED
- Logging* logger = Logging::GetInstance();
std::string name;
- logger->GetMessageText(m.type(), &name, &m, NULL);
+ Logging::GetInstance()->GetMessageText(m.type(), &name, &m, NULL);
TRACE_EVENT1("ipc,toplevel", "ChannelReader::DispatchInputData",
"name", name);
#else

Powered by Google App Engine
This is Rietveld 408576698