| 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
|
|
|