| Index: chrome/browser/zygote_host_linux.cc
|
| diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc
|
| index b6115f140fcabe807a9ed20dc3aa6bee5ce5a59d..74b68529700229315a599a02bf1c4135a44e506d 100644
|
| --- a/chrome/browser/zygote_host_linux.cc
|
| +++ b/chrome/browser/zygote_host_linux.cc
|
| @@ -66,6 +66,11 @@ ZygoteHost::~ZygoteHost() {
|
| close(control_fd_);
|
| }
|
|
|
| +// static
|
| +ZygoteHost* ZygoteHost::GetInstance() {
|
| + return Singleton<ZygoteHost>::get();
|
| +}
|
| +
|
| void ZygoteHost::Init(const std::string& sandbox_cmd) {
|
| DCHECK(!init_);
|
| init_ = true;
|
| @@ -129,7 +134,7 @@ void ZygoteHost::Init(const std::string& sandbox_cmd) {
|
|
|
| // Start up the sandbox host process and get the file descriptor for the
|
| // renderers to talk to it.
|
| - const int sfd = Singleton<RenderSandboxHostLinux>()->GetRendererSocket();
|
| + const int sfd = RenderSandboxHostLinux::GetInstance()->GetRendererSocket();
|
| fds_to_map.push_back(std::make_pair(sfd, 5));
|
|
|
| int dummy_fd = -1;
|
|
|