| Index: chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc b/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
|
| index 472d8debcc465832350874ec618625d0f403651b..3e5b8d1b6df38f41b8e5e142e6c46c6ef3c673ac 100644
|
| --- a/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
|
| +++ b/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
|
| @@ -43,15 +43,12 @@ void Append_en_US_InputMethods(std::vector<std::string>* out) {
|
| class FocusPODWaiter {
|
| public:
|
| FocusPODWaiter() : focused_(false), runner_(new content::MessageLoopRunner) {
|
| - GetOobeUI()
|
| - ->signin_screen_handler_for_test()
|
| - ->SetFocusPODCallbackForTesting(
|
| - base::Bind(&FocusPODWaiter::OnFocusPOD, base::Unretained(this)));
|
| + GetOobeUI()->signin_screen_handler()->SetFocusPODCallbackForTesting(
|
| + base::Bind(&FocusPODWaiter::OnFocusPOD, base::Unretained(this)));
|
| }
|
| ~FocusPODWaiter() {
|
| - GetOobeUI()
|
| - ->signin_screen_handler_for_test()
|
| - ->SetFocusPODCallbackForTesting(base::Closure());
|
| + GetOobeUI()->signin_screen_handler()->SetFocusPODCallbackForTesting(
|
| + base::Closure());
|
| }
|
|
|
| void OnFocusPOD() {
|
| @@ -70,9 +67,8 @@ class FocusPODWaiter {
|
| if (focused_)
|
| return;
|
| runner_->Run();
|
| - GetOobeUI()
|
| - ->signin_screen_handler_for_test()
|
| - ->SetFocusPODCallbackForTesting(base::Closure());
|
| + GetOobeUI()->signin_screen_handler()->SetFocusPODCallbackForTesting(
|
| + base::Closure());
|
| runner_ = NULL;
|
| }
|
|
|
|
|