Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2865)

Unified Diff: base/value_conversions.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/json/json_writer_unittest.cc ('k') | base/values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « base/json/json_writer_unittest.cc ('k') | base/values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698