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

Unified Diff: chrome/browser/chromeos/input_method/accessibility.cc

Issue 1055863002: ChromeOS: switch UI language before apps are loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove empty line. Created 5 years, 7 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/chromeos/input_method/accessibility.cc
diff --git a/chrome/browser/chromeos/input_method/accessibility.cc b/chrome/browser/chromeos/input_method/accessibility.cc
index 59ef8652a78c5dc8effd754879383e68d73e1c20..084f7203cfb426b66832b6d439b5242ca0d0edec 100644
--- a/chrome/browser/chromeos/input_method/accessibility.cc
+++ b/chrome/browser/chromeos/input_method/accessibility.cc
@@ -25,6 +25,7 @@ Accessibility::~Accessibility() {
}
void Accessibility::InputMethodChanged(InputMethodManager* imm,
+ Profile* profile,
bool show_message) {
DCHECK_EQ(imm, imm_);
if (!show_message)
@@ -36,8 +37,7 @@ void Accessibility::InputMethodChanged(InputMethodManager* imm,
const std::string medium_name = base::UTF16ToUTF8(
imm_->GetInputMethodUtil()->GetInputMethodMediumName(descriptor));
- AutomationManagerAura::GetInstance()->HandleAlert(
- ProfileManager::GetActiveUserProfile(), medium_name);
+ AutomationManagerAura::GetInstance()->HandleAlert(profile, medium_name);
}
} // namespace input_method
« no previous file with comments | « chrome/browser/chromeos/input_method/accessibility.h ('k') | chrome/browser/chromeos/input_method/input_method_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698