summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/daemon_controller_delegate_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/setup/daemon_controller_delegate_win.cc')
-rw-r--r--remoting/host/setup/daemon_controller_delegate_win.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/host/setup/daemon_controller_delegate_win.cc b/remoting/host/setup/daemon_controller_delegate_win.cc
index 34b50a6..36f55e5 100644
--- a/remoting/host/setup/daemon_controller_delegate_win.cc
+++ b/remoting/host/setup/daemon_controller_delegate_win.cc
@@ -191,8 +191,7 @@ scoped_ptr<base::DictionaryValue> DaemonControllerDelegateWin::GetConfig() {
if (!config || !config->IsType(base::Value::TYPE_DICTIONARY))
return nullptr;
- return scoped_ptr<base::DictionaryValue>(
- static_cast<base::DictionaryValue*>(config.release()));
+ return make_scoped_ptr(static_cast<base::DictionaryValue*>(config.release()));
}
void DaemonControllerDelegateWin::InstallHost(