Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(973)

Unified Diff: remoting/host/continue_window_win.cc

Issue 9720019: Use scoped_ptr<> to pass ownership in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/continue_window_mac.mm ('k') | remoting/host/disconnect_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/host/continue_window_mac.mm ('k') | remoting/host/disconnect_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698