Index: net/proxy/proxy_config.cc |
diff --git a/net/proxy/proxy_config.cc b/net/proxy/proxy_config.cc |
index a88ed63cd05a093b6e983efd712809350f20e3d1..2ac6de1b328439b85f2e04735942f460c21379c7 100644 |
--- a/net/proxy/proxy_config.cc |
+++ b/net/proxy/proxy_config.cc |
@@ -231,7 +231,7 @@ void ProxyConfig::ClearAutomaticSettings() { |
pac_url_ = GURL(); |
} |
-base::DictionaryValue* ProxyConfig::ToValue() const { |
+scoped_ptr<base::DictionaryValue> ProxyConfig::ToValue() const { |
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); |
// Output the automatic settings. |
@@ -286,7 +286,7 @@ base::DictionaryValue* ProxyConfig::ToValue() const { |
// Output the source. |
dict->SetString("source", ProxyConfigSourceToString(source_)); |
- return dict.release(); |
+ return dict.Pass(); |
} |
} // namespace net |