| Index: chrome/browser/extensions/system/system_api.cc
|
| diff --git a/chrome/browser/extensions/system/system_api.cc b/chrome/browser/extensions/system/system_api.cc
|
| index 042eb3566775c28b4d083a956b1e1b9de96c65f8..84ae3b400ba09a84baf670a4ffaa46a7090adf11 100644
|
| --- a/chrome/browser/extensions/system/system_api.cc
|
| +++ b/chrome/browser/extensions/system/system_api.cc
|
| @@ -73,7 +73,7 @@ bool GetIncognitoModeAvailabilityFunction::RunImpl() {
|
| EXTENSION_FUNCTION_VALIDATE(
|
| value >= 0 &&
|
| value < static_cast<int>(arraysize(kIncognitoModeAvailabilityStrings)));
|
| - result_.reset(
|
| + SetSingleResult(
|
| Value::CreateStringValue(kIncognitoModeAvailabilityStrings[value]));
|
| return true;
|
| }
|
| @@ -134,7 +134,7 @@ bool GetUpdateStatusFunction::RunImpl() {
|
| DictionaryValue* dict = new DictionaryValue();
|
| dict->SetString(kStateKey, state);
|
| dict->SetDouble(kDownloadProgressKey, download_progress);
|
| - result_.reset(dict);
|
| + SetSingleResult(dict);
|
|
|
| return true;
|
| }
|
|
|