Index: remoting/host/host_config.cc |
diff --git a/remoting/host/host_config.cc b/remoting/host/host_config.cc |
index 872bb07f1a20f8a67dcc6ba2c52f5d2a40089dd9..f46496200023aaf98eac776820ffb212274a2a09 100644 |
--- a/remoting/host/host_config.cc |
+++ b/remoting/host/host_config.cc |
@@ -21,9 +21,7 @@ scoped_ptr<base::DictionaryValue> HostConfigFromJson( |
return nullptr; |
} |
- scoped_ptr<base::DictionaryValue> config( |
- static_cast<base::DictionaryValue*>(value.release())); |
- return config.Pass(); |
+ return make_scoped_ptr(static_cast<base::DictionaryValue*>(value.release())); |
} |
std::string HostConfigToJson(const base::DictionaryValue& host_config) { |