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

Unified Diff: remoting/host/continue_window_linux.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.h ('k') | remoting/host/continue_window_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/continue_window_linux.cc
diff --git a/remoting/host/continue_window_linux.cc b/remoting/host/continue_window_linux.cc
index b84e49bbe43f73276bfe91830efdbd4b462a8e98..a2175dd5182f2b05d33486a8ac11e80d47e9dbe5 100644
--- a/remoting/host/continue_window_linux.cc
+++ b/remoting/host/continue_window_linux.cc
@@ -102,8 +102,8 @@ void ContinueWindowLinux::OnResponse(GtkWidget* dialog, int response_id) {
Hide();
}
-ContinueWindow* ContinueWindow::Create() {
- return new ContinueWindowLinux();
+scoped_ptr<ContinueWindow> ContinueWindow::Create() {
+ return scoped_ptr<ContinueWindow>(new ContinueWindowLinux());
}
} // namespace remoting
« no previous file with comments | « remoting/host/continue_window.h ('k') | remoting/host/continue_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698