| 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 c6fc2ec98af12f1abcba331b9f16f27e1f3431fc..30c762cae6e2f568e1cac74fe38d070712d47cf6 100644
|
| --- a/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| +++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| @@ -107,7 +107,7 @@ bool FileSystemGetDisplayPathFunction::RunImpl() {
|
| render_view_host_, &file_path, &error_))
|
| return false;
|
|
|
| - result_.reset(base::Value::CreateStringValue(file_path.value()));
|
| + SetSingleResult(base::Value::CreateStringValue(file_path.value()));
|
| return true;
|
| }
|
|
|
| @@ -159,7 +159,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);
|
|
|