summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-07 21:26:47 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-07 21:26:47 +0000
commit9b85081afdc2fbe9a5c309b982458748eb33267c (patch)
tree5d284fb701756ad640e40bb7ff7f74386cd67a23 /ipc
parentf90b60bc3a80bbe2b1c4b19931a309eb017c9bb1 (diff)
downloadchromium_src-9b85081afdc2fbe9a5c309b982458748eb33267c.zip
chromium_src-9b85081afdc2fbe9a5c309b982458748eb33267c.tar.gz
chromium_src-9b85081afdc2fbe9a5c309b982458748eb33267c.tar.bz2
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
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_channel_posix.cc2
1 files changed, 1 insertions, 1 deletions
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<base::GlobalDescriptors>()->Get(kPrimaryIPCChannel);
+ pipe_ = base::GlobalDescriptors::GetInstance()->Get(kPrimaryIPCChannel);
}
} else {
waiting_connect_ = mode == MODE_SERVER;