| Index: chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc b/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
|
| index aeb076396ac199e1d320b5f3bdc22c827e5ea5c5..777796cd4b873ee3fb6af646db8e103eaa2e72a6 100644
|
| --- a/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/webui/chromeos/first_run/first_run_ui.h"
|
|
|
| #include "ash/common/shelf/shelf.h"
|
| +#include "ash/common/shelf/wm_shelf.h"
|
| #include "base/command_line.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -62,7 +63,7 @@ void SetLocalizedStrings(base::DictionaryValue* localized_strings) {
|
| base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| chromeos::switches::kEnableFirstRunUITransitions));
|
| std::string shelf_alignment;
|
| - switch (ash::Shelf::ForPrimaryDisplay()->alignment()) {
|
| + switch (ash::Shelf::ForPrimaryDisplay()->wm_shelf()->alignment()) {
|
| case ash::SHELF_ALIGNMENT_BOTTOM:
|
| case ash::SHELF_ALIGNMENT_BOTTOM_LOCKED:
|
| shelf_alignment = kShelfAlignmentBottom;
|
|
|