Index: remoting/host/continue_window_mac.mm |
diff --git a/remoting/host/continue_window_mac.mm b/remoting/host/continue_window_mac.mm |
index f5661846a0805fcc4e43b42bf029817d0e33e44a..41756fb976624d4eff93d33ab8377a2c5ff38f16 100644 |
--- a/remoting/host/continue_window_mac.mm |
+++ b/remoting/host/continue_window_mac.mm |
@@ -67,8 +67,8 @@ void ContinueWindowMac::Hide() { |
[controller_ hide]; |
} |
-ContinueWindow* ContinueWindow::Create() { |
- return new ContinueWindowMac(); |
+scoped_ptr<ContinueWindow> ContinueWindow::Create() { |
+ return scoped_ptr<ContinueWindow>(new ContinueWindowMac()); |
} |
} // namespace remoting |