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

Unified Diff: remoting/host/setup/daemon_installer_win.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: remoting/host/setup/daemon_installer_win.cc
diff --git a/remoting/host/setup/daemon_installer_win.cc b/remoting/host/setup/daemon_installer_win.cc
index f54b6d7017f0ee4f52ee01691e25d8b6d2a44b50..decb9dc371adafe4fb633069fe9f9745d199fb18 100644
--- a/remoting/host/setup/daemon_installer_win.cc
+++ b/remoting/host/setup/daemon_installer_win.cc
@@ -382,7 +382,7 @@ scoped_ptr<DaemonInstallerWin> DaemonInstallerWin::Create(
} else {
// The user declined the UAC prompt or some other error occured.
done.Run(result);
- return scoped_ptr<DaemonInstallerWin>();
+ return nullptr;
}
}

Powered by Google App Engine
This is Rietveld 408576698