Chromium Code Reviews| Index: chrome/browser/chromeos/login/test/oobe_base_test.cc |
| diff --git a/chrome/browser/chromeos/login/test/oobe_base_test.cc b/chrome/browser/chromeos/login/test/oobe_base_test.cc |
| index d809454a5a7b1d5af43fd67ff6117d3ecd86eb88..28f4831a89960cf1dcd054466178e9dfed5460c4 100644 |
| --- a/chrome/browser/chromeos/login/test/oobe_base_test.cc |
| +++ b/chrome/browser/chromeos/login/test/oobe_base_test.cc |
| @@ -102,9 +102,8 @@ void OobeBaseTest::SetUpOnMainThread() { |
| chrome::NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE, |
| content::NotificationService::AllSources())); |
| - js_checker_.set_web_contents(LoginDisplayHostImpl::default_host() |
| - ->GetWebUILoginView() |
| - ->GetWebContents()); |
| + js_checker_.set_web_contents( |
| + LoginDisplayHost::default_host()->GetWebUILoginView()->GetWebContents()); |
| test::UserSessionManagerTestApi session_manager_test_api( |
| UserSessionManager::GetInstance()); |
| @@ -117,7 +116,7 @@ void OobeBaseTest::SetUpOnMainThread() { |
| void OobeBaseTest::TearDownOnMainThread() { |
| // If the login display is still showing, exit gracefully. |
| - if (LoginDisplayHostImpl::default_host()) { |
| + if (LoginDisplayHost::default_host()) { |
| base::MessageLoop::current()->PostTask(FROM_HERE, |
| base::Bind(&chrome::AttemptExit)); |
| content::RunMessageLoop(); |
| @@ -202,8 +201,7 @@ void OobeBaseTest::JsExpect(const std::string& expression) { |
| } |
| content::WebUI* OobeBaseTest::GetLoginUI() { |
| - return static_cast<chromeos::LoginDisplayHostImpl*>( |
| - chromeos::LoginDisplayHostImpl::default_host())->GetOobeUI()->web_ui(); |
| + return chromeos::LoginDisplayHost::default_host()->GetOobeUI()->web_ui(); |
|
achuithb
2016/01/21 23:14:31
drop chromeos::
jdufault
2016/01/22 21:14:11
Done.
|
| } |
| WebUILoginDisplay* OobeBaseTest::GetLoginDisplay() { |