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

Unified Diff: ipc/ipc_sync_channel.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_sync_channel.cc
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
index 50ea3dfdf947ae3874d3c93aa12c240312af0848..a6ef27ada67d1c8f9596cb381589feab0ebdb70a 100644
--- a/ipc/ipc_sync_channel.cc
+++ b/ipc/ipc_sync_channel.cc
@@ -461,9 +461,8 @@ void SyncChannel::SetRestrictDispatchChannelGroup(int group) {
bool SyncChannel::Send(Message* message) {
#ifdef IPC_MESSAGE_LOG_ENABLED
- Logging* logger = Logging::GetInstance();
std::string name;
- logger->GetMessageText(message->type(), &name, message, NULL);
+ Logging::GetInstance()->GetMessageText(message->type(), &name, message, NULL);
TRACE_EVENT1("ipc", "SyncChannel::Send", "name", name);
#else
TRACE_EVENT2("ipc", "SyncChannel::Send",
« no previous file with comments | « ipc/ipc_channel_reader.cc ('k') | net/base/escape.cc » ('j') | net/disk_cache/cache_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698