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

Unified Diff: chrome/browser/chromeos/login/oobe_browsertest.cc

Issue 1610823003: Migrate call sites LoginDisplayHostImpl::default_host to LoginDisplayHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-add-supervised-user
Patch Set: Created 4 years, 11 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/login/oobe_browsertest.cc
diff --git a/chrome/browser/chromeos/login/oobe_browsertest.cc b/chrome/browser/chromeos/login/oobe_browsertest.cc
index e566d290a69218db9c0e1891cce001ad4dfc204c..eab8ce497886c2855fb6fed862973f179e4dca30 100644
--- a/chrome/browser/chromeos/login/oobe_browsertest.cc
+++ b/chrome/browser/chromeos/login/oobe_browsertest.cc
@@ -42,7 +42,7 @@ class OobeTest : public OobeBaseTest {
void TearDownOnMainThread() override {
// 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();
@@ -61,7 +61,7 @@ class OobeTest : public OobeBaseTest {
views::Widget* GetLoginWindowWidget() {
return static_cast<chromeos::LoginDisplayHostImpl*>(
achuithb 2016/01/21 23:14:31 Is this static_cast necessary? Drop chromeos::
jdufault 2016/01/22 21:14:11 Yep, the cast is needed.
- chromeos::LoginDisplayHostImpl::default_host())
+ chromeos::LoginDisplayHost::default_host())
->login_window_for_test();
}

Powered by Google App Engine
This is Rietveld 408576698