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

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

Issue 9696025: Rename InputMethodManager::current_input_method() to InputMethodManager::GetCurrentInputMethod(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 df9a76ab89b1acb631c7445e2bf5ea39760631ca..310892ece276e6b568b8e8ee14b8f6025a74effa 100644
--- a/chrome/browser/extensions/extension_input_method_api.cc
+++ b/chrome/browser/extensions/extension_input_method_api.cc
@@ -26,7 +26,7 @@ bool GetInputMethodFunction::RunImpl() {
chromeos::input_method::InputMethodManager* manager =
chromeos::input_method::InputMethodManager::GetInstance();
const std::string input_method =
- router->GetInputMethodForXkb(manager->current_input_method().id());
+ router->GetInputMethodForXkb(manager->GetCurrentInputMethod().id());
result_.reset(Value::CreateStringValue(input_method));
return true;
#endif

Powered by Google App Engine
This is Rietveld 408576698