Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2681)

Unified Diff: chrome/browser/extensions/extension_input_method_api.cc

Issue 10694106: Added support for multiple parameters to Extension API callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_input_method_api.cc
diff --git a/chrome/browser/extensions/extension_input_method_api.cc b/chrome/browser/extensions/extension_input_method_api.cc
index 310892ece276e6b568b8e8ee14b8f6025a74effa..5dd349c44a6d346460bdf2c04fb26bed1174f946 100644
--- a/chrome/browser/extensions/extension_input_method_api.cc
+++ b/chrome/browser/extensions/extension_input_method_api.cc
@@ -27,7 +27,7 @@ bool GetInputMethodFunction::RunImpl() {
chromeos::input_method::InputMethodManager::GetInstance();
const std::string input_method =
router->GetInputMethodForXkb(manager->GetCurrentInputMethod().id());
- result_.reset(Value::CreateStringValue(input_method));
+ SetResult(Value::CreateStringValue(input_method));
return true;
#endif
}

Powered by Google App Engine
This is Rietveld 408576698