Index: ipc/ipc_logging.cc |
diff --git a/ipc/ipc_logging.cc b/ipc/ipc_logging.cc |
index 0691a9a000135930d3c9e3f042e384e643e20e6c..7c7c961e46bf2ca12eeab19b4a1a3cb431f7d653 100644 |
--- a/ipc/ipc_logging.cc |
+++ b/ipc/ipc_logging.cc |
@@ -46,7 +46,7 @@ Logging::Logging() |
enabled_color_(false), |
queue_invoke_later_pending_(false), |
sender_(NULL), |
- main_thread_(MessageLoop::current()), |
+ main_thread_(base::MessageLoop::current()), |
consumer_(NULL) { |
#if defined(OS_WIN) |
// getenv triggers an unsafe warning. Simply check how big of a buffer |
@@ -159,7 +159,7 @@ void Logging::OnPostDispatchMessage(const Message& message, |
LogData data; |
GenerateLogData(channel_id, message, &data, true); |
- if (MessageLoop::current() == main_thread_) { |
+ if (base::MessageLoop::current() == main_thread_) { |
Log(data); |
} else { |
main_thread_->PostTask( |
@@ -232,8 +232,9 @@ void Logging::Log(const LogData& data) { |
queued_logs_.push_back(data); |
if (!queue_invoke_later_pending_) { |
queue_invoke_later_pending_ = true; |
- MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, base::Bind(&Logging::OnSendLogs, base::Unretained(this)), |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, |
+ base::Bind(&Logging::OnSendLogs, base::Unretained(this)), |
base::TimeDelta::FromMilliseconds(kLogSendDelayMs)); |
} |
} |