From 8e8bb6d329bdad0efe5bddd5d39e0efe64d9846a Mon Sep 17 00:00:00 2001 From: "satish@chromium.org" Date: Mon, 13 Dec 2010 08:18:55 +0000 Subject: Rename all methods accessing Singleton as GetInstance(). This is in preparation to a subsequent CL where Singleton will restrict access to only the type being made singleton. I also moved pepper::ResourceTracker to a lazy instance since there were too many places in code where this class was being accessed from and this was a smaller change than renaming methods in that case. BUG=65298 TEST=all existing tests should pass. Review URL: http://codereview.chromium.org/5685007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68982 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/service/service_ipc_server.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/service/service_ipc_server.cc') diff --git a/chrome/service/service_ipc_server.cc b/chrome/service/service_ipc_server.cc index 260c5a4..71ae5d7 100644 --- a/chrome/service/service_ipc_server.cc +++ b/chrome/service/service_ipc_server.cc @@ -15,7 +15,7 @@ ServiceIPCServer::ServiceIPCServer(const std::string& channel_name) bool ServiceIPCServer::Init() { #ifdef IPC_MESSAGE_LOG_ENABLED - IPC::Logging::current()->SetIPCSender(this); + IPC::Logging::GetInstance()->SetIPCSender(this); #endif sync_message_filter_ = new IPC::SyncMessageFilter(g_service_process->shutdown_event()); @@ -34,7 +34,7 @@ void ServiceIPCServer::CreateChannel() { ServiceIPCServer::~ServiceIPCServer() { #ifdef IPC_MESSAGE_LOG_ENABLED - IPC::Logging::current()->SetIPCSender(NULL); + IPC::Logging::GetInstance()->SetIPCSender(NULL); #endif channel_->RemoveFilter(sync_message_filter_.get()); -- cgit v1.1