Index: chrome/browser/extensions/extension_font_settings_api.cc |
diff --git a/chrome/browser/extensions/extension_font_settings_api.cc b/chrome/browser/extensions/extension_font_settings_api.cc |
index 32d91d0d7db5b76b679e3ec0411b9bf6232f8d35..fe855f2198ad6c360475c089a7ddf4fc52565e4d 100644 |
--- a/chrome/browser/extensions/extension_font_settings_api.cc |
+++ b/chrome/browser/extensions/extension_font_settings_api.cc |
@@ -294,7 +294,7 @@ bool GetFontFunction::RunImpl() { |
DictionaryValue* result = new DictionaryValue(); |
result->SetString(kFontNameKey, font_name); |
result->SetString(kLevelOfControlKey, level_of_control); |
- result_.reset(result); |
+ SetResult(result); |
return true; |
} |
@@ -362,7 +362,7 @@ bool GetFontListFunction::CopyFontsToResult(ListValue* fonts) { |
result->Append(font_name); |
} |
- result_.reset(result.release()); |
+ SetResult(result.release()); |
return true; |
} |
@@ -398,7 +398,7 @@ bool GetFontPrefExtensionFunction::RunImpl() { |
DictionaryValue* result = new DictionaryValue(); |
result->Set(GetKey(), pref->GetValue()->DeepCopy()); |
result->SetString(kLevelOfControlKey, level_of_control); |
- result_.reset(result); |
+ SetResult(result); |
return true; |
} |