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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.cc

Issue 22885002: c/b/extensions, json_schema_compiler: Do not use Value::Create*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Trying one last time get past Base Files Missing. Created 7 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
Index: chrome/browser/extensions/api/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index 7ebf9e2a8b0da6cdba1c9c830d4daa897a28587f..99e761d2295ad20de69bfeddb297dcdbe87024bc 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -490,7 +490,7 @@ bool FileSystemGetDisplayPathFunction::RunImpl() {
return false;
file_path = PrettifyPath(file_path);
- SetResult(base::Value::CreateStringValue(file_path.value()));
+ SetResult(new base::StringValue(file_path.value()));
return true;
}
@@ -613,7 +613,7 @@ bool FileSystemIsWritableEntryFunction::RunImpl() {
bool is_writable = policy->CanReadWriteFileSystem(renderer_id,
filesystem_id);
- SetResult(base::Value::CreateBooleanValue(is_writable));
+ SetResult(new base::FundamentalValue(is_writable));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698