Index: chromeos/network/onc/onc_translator_onc_to_shill.cc |
diff --git a/chromeos/network/onc/onc_translator_onc_to_shill.cc b/chromeos/network/onc/onc_translator_onc_to_shill.cc |
index f6b0117f694b5720775386516995dd8b2b5060b6..2fd411fa5113c304315d94fd8d28a70ef950d19b 100644 |
--- a/chromeos/network/onc/onc_translator_onc_to_shill.cc |
+++ b/chromeos/network/onc/onc_translator_onc_to_shill.cc |
@@ -31,7 +31,7 @@ scoped_ptr<base::StringValue> ConvertValueToString(const base::Value& value) { |
std::string str; |
if (!value.GetAsString(&str)) |
base::JSONWriter::Write(&value, &str); |
- return make_scoped_ptr(base::Value::CreateStringValue(str)); |
+ return make_scoped_ptr(new base::StringValue(str)); |
} |
// This class is responsible to translate the local fields of the given |