Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index bd97520f2bf35ae4c5f23d44376d87fdaed69665..af84ede1de6d7fc17916dc63eee1c08fc5b65b96 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -229,12 +229,12 @@ void SetupSandbox(const base::CommandLine& parsed_command_line) { |
// Tickle the zygote host so it forks now. |
ZygoteHostImpl::GetInstance()->Init(parsed_command_line); |
- *GetGenericZygote() = CreateZygote(); |
+ ZygoteHandle generic_zygote = CreateGenericZygote(); |
// TODO(kerrnel): Investigate doing this without the ZygoteHostImpl as a |
// proxy. It is currently done this way due to concerns about race |
// conditions. |
ZygoteHostImpl::GetInstance()->SetRendererSandboxStatus( |
- (*GetGenericZygote())->GetSandboxStatus()); |
+ generic_zygote->GetSandboxStatus()); |
} |
#endif |