Index: sandbox/mac/bootstrap_sandbox.cc |
diff --git a/sandbox/mac/bootstrap_sandbox.cc b/sandbox/mac/bootstrap_sandbox.cc |
index d006f3f532e84bbe6d65b10acaa086a2efa6bc8e..dee7903c171e4f8b823de12408117b5cd03d086a 100644 |
--- a/sandbox/mac/bootstrap_sandbox.cc |
+++ b/sandbox/mac/bootstrap_sandbox.cc |
@@ -68,7 +68,7 @@ scoped_ptr<BootstrapSandbox> BootstrapSandbox::Create() { |
if (kr != KERN_SUCCESS) { |
BOOTSTRAP_LOG(ERROR, kr) |
<< "Failed to bootstrap_check_in the sandbox server."; |
- return null.Pass(); |
+ return null; |
} |
sandbox->check_in_port_.reset(port); |
@@ -81,9 +81,9 @@ scoped_ptr<BootstrapSandbox> BootstrapSandbox::Create() { |
// Start the sandbox server. |
if (!sandbox->launchd_server_->Initialize(MACH_PORT_NULL)) |
- return null.Pass(); |
+ return null; |
- return sandbox.Pass(); |
+ return sandbox; |
} |
// Warning: This function must be safe to call in |