| Index: chrome/browser/chromeos/login/eula_view.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/login/eula_view.cc (revision 83304)
|
| +++ chrome/browser/chromeos/login/eula_view.cc (working copy)
|
| @@ -320,8 +320,8 @@
|
| // displayed using current locale and manifest. Returns empty URL otherwise.
|
| static GURL GetOemEulaPagePath() {
|
| const StartupCustomizationDocument* customization =
|
| - WizardController::default_controller()->GetCustomization();
|
| - if (customization) {
|
| + StartupCustomizationDocument::GetInstance();
|
| + if (customization->IsReady()) {
|
| std::string locale = customization->initial_locale();
|
| std::string eula_page = customization->GetEULAPage(locale);
|
| if (!eula_page.empty())
|
|
|