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 871125e0030030d2aab9d8263ef184ef5e896dbb..fe913375d170f28731c5f755951e1aed9d314189 100644 |
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc |
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc |
@@ -148,7 +148,7 @@ bool FileSystemGetDisplayPathFunction::RunImpl() { |
return false; |
file_path = PrettifyPath(file_path); |
- result_.reset(base::Value::CreateStringValue(file_path.value())); |
+ SetSingleResult(base::Value::CreateStringValue(file_path.value())); |
return true; |
} |
@@ -200,7 +200,7 @@ void FileSystemEntryFunction::RegisterFileSystemAndSendResponse( |
policy->GrantReadFile(renderer_id, path); |
DictionaryValue* dict = new DictionaryValue(); |
- result_.reset(dict); |
+ SetSingleResult(dict); |
dict->SetString("fileSystemId", filesystem_id); |
dict->SetString("baseName", path.BaseName().AsUTF8Unsafe()); |
SendResponse(true); |