Index: chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc b/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc |
index 7f4b658a7ef6c9d29584ab2a72ae880e421ed661..ea3ff85527ac2bc45bb00695e6e0185f9a356b2e 100644 |
--- a/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc |
+++ b/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc |
@@ -37,7 +37,7 @@ IN_PROC_BROWSER_TEST_F(EnrollmentScreenTest, TestCancel) { |
ASSERT_TRUE(WizardController::default_controller() != NULL); |
EnrollmentScreen* enrollment_screen = |
- WizardController::default_controller()->GetEnrollmentScreen(); |
+ EnrollmentScreen::Get(WizardController::default_controller()); |
ASSERT_TRUE(enrollment_screen != NULL); |
base::RunLoop run_loop; |
@@ -65,7 +65,7 @@ IN_PROC_BROWSER_TEST_F(EnrollmentScreenTest, DISABLED_TestSuccess) { |
EXPECT_FALSE(StartupUtils::IsOobeCompleted()); |
EnrollmentScreen* enrollment_screen = |
- WizardController::default_controller()->GetEnrollmentScreen(); |
+ EnrollmentScreen::Get(WizardController::default_controller()); |
ASSERT_TRUE(enrollment_screen != NULL); |
base::RunLoop run_loop; |
@@ -107,7 +107,7 @@ IN_PROC_BROWSER_TEST_F(ProvisionedEnrollmentScreenTest, TestBackButton) { |
ASSERT_TRUE(WizardController::default_controller() != NULL); |
EnrollmentScreen* enrollment_screen = |
- WizardController::default_controller()->GetEnrollmentScreen(); |
+ EnrollmentScreen::Get(WizardController::default_controller()); |
ASSERT_TRUE(enrollment_screen != NULL); |
base::RunLoop run_loop; |