Chromium Code Reviews

Unified Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 5685007: Rename all methods accessing Singleton<T> as GetInstance(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/renderer_host/browser_render_process_host.cc
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 5af2e6f432e209ccbd4a9de3cc93957459983236..7e8505850d38d153f2350234ffbb6302634c4064 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -940,7 +940,8 @@ void BrowserRenderProcessHost::OnMessageReceived(const IPC::Message& msg) {
void BrowserRenderProcessHost::OnChannelConnected(int32 peer_pid) {
#if defined(IPC_MESSAGE_LOG_ENABLED)
- Send(new ViewMsg_SetIPCLoggingEnabled(IPC::Logging::current()->Enabled()));
+ Send(new ViewMsg_SetIPCLoggingEnabled(
+ IPC::Logging::GetInstance()->Enabled()));
#endif
}
« no previous file with comments | « chrome/browser/remoting/remoting_setup_flow.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine