Index: remoting/host/continue_window_win.cc |
diff --git a/remoting/host/continue_window_win.cc b/remoting/host/continue_window_win.cc |
index 190cc42e16f1146d554946ebfadbe269a2c46336..2e5a3195be0d06e2a171433550f5ac5d829912e7 100644 |
--- a/remoting/host/continue_window_win.cc |
+++ b/remoting/host/continue_window_win.cc |
@@ -148,8 +148,8 @@ void ContinueWindowWin::SetStrings(const UiStrings& strings) { |
SetWindowText(hwndCancel, strings.stop_sharing_button_text.c_str()); |
} |
-ContinueWindow* ContinueWindow::Create() { |
- return new ContinueWindowWin(); |
+scoped_ptr<ContinueWindow> ContinueWindow::Create() { |
+ return scoped_ptr<ContinueWindow>(new ContinueWindowWin()); |
} |
} // namespace remoting |