Index: base/value_conversions.cc |
diff --git a/base/value_conversions.cc b/base/value_conversions.cc |
index 64513d070dc9fa14a1a3e983e47e089584df8b5e..8ac976889e957808c05de0da26eb21e4005cbc8b 100644 |
--- a/base/value_conversions.cc |
+++ b/base/value_conversions.cc |
@@ -37,7 +37,7 @@ FilePath UTF8ToFilePath(const std::string& str) { |
} // namespace |
StringValue* CreateFilePathValue(const FilePath& in_value) { |
- return new StringValue(FilePathToUTF8(in_value)); |
+ return StringValue::New(FilePathToUTF8(in_value)); |
} |
bool GetValueAsFilePath(const Value& value, FilePath* file_path) { |