From 9b85081afdc2fbe9a5c309b982458748eb33267c Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Tue, 7 Dec 2010 21:26:47 +0000 Subject: Wrap GlobalDescriptors singleton in accessor method. When I switched GlobalDescriptors to using LeakySingletonTraits in r67627, it didn't occur to me I had to fix all users of it. TEST=compiles Review URL: http://codereview.chromium.org/5517006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68518 0039d316-1c4b-4281-b951-d872f2087c98 --- ipc/ipc_channel_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipc/ipc_channel_posix.cc') diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index bbf13743..781175e3 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc @@ -396,7 +396,7 @@ bool Channel::ChannelImpl::CreatePipe(const std::string& channel_id, } used_initial_channel = true; - pipe_ = Singleton()->Get(kPrimaryIPCChannel); + pipe_ = base::GlobalDescriptors::GetInstance()->Get(kPrimaryIPCChannel); } } else { waiting_connect_ = mode == MODE_SERVER; -- cgit v1.1