Index: chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
index a876646a8c71baee54a2e48fc05a0b6bb92e74bf..2a068986bc3af97807a7bd50712266ff49a9cc01 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
@@ -740,7 +740,7 @@ IN_PROC_BROWSER_TEST_F(WizardControllerEnrollmentFlowTest, |
OnExit(ScreenObserver::UPDATE_INSTALLED); |
AutoEnrollmentCheckScreen* screen = |
- WizardController::default_controller()->GetAutoEnrollmentCheckScreen(); |
+ AutoEnrollmentCheckScreen::Get(WizardController::default_controller()); |
EXPECT_EQ(screen, |
WizardController::default_controller()->current_screen()); |
EXPECT_CALL(*mock_auto_enrollment_check_screen_, Hide()).Times(1); |