Index: chromeos/network/network_util.cc |
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc |
index a0f81816cf1200373af3e953a497e7b39fb36755..ebaef5137fd0c920a45724dc34b14343ef169ebe 100644 |
--- a/chromeos/network/network_util.cc |
+++ b/chromeos/network/network_util.cc |
@@ -183,7 +183,7 @@ scoped_ptr<base::DictionaryValue> TranslateNetworkStateToONC( |
scoped_ptr<base::DictionaryValue> onc_dictionary = |
TranslateShillServiceToONCPart(*shill_dictionary, onc_source, |
&onc::kNetworkWithStateSignature, network); |
- return onc_dictionary.Pass(); |
+ return onc_dictionary; |
} |
scoped_ptr<base::ListValue> TranslateNetworkListToONC( |
@@ -201,7 +201,7 @@ scoped_ptr<base::ListValue> TranslateNetworkListToONC( |
TranslateNetworkStateToONC(state); |
network_properties_list->Append(onc_dictionary.release()); |
} |
- return network_properties_list.Pass(); |
+ return network_properties_list; |
} |
std::string TranslateONCTypeToShill(const std::string& onc_type) { |