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; |
} |