Index: chrome/browser/chromeos/first_run/steps/tray_step.cc |
diff --git a/chrome/browser/chromeos/first_run/steps/tray_step.cc b/chrome/browser/chromeos/first_run/steps/tray_step.cc |
index b6305ca3cc99393b3d1e91d105ed50b44d71ca93..4e4192c7e05a5dfa03e1842566333420307cb9c1 100644 |
--- a/chrome/browser/chromeos/first_run/steps/tray_step.cc |
+++ b/chrome/browser/chromeos/first_run/steps/tray_step.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/chromeos/first_run/steps/tray_step.h" |
#include "ash/common/shelf/shelf.h" |
+#include "ash/common/shelf/wm_shelf.h" |
#include "ash/first_run/first_run_helper.h" |
#include "base/i18n/rtl.h" |
#include "chrome/browser/chromeos/first_run/step_names.h" |
@@ -27,7 +28,8 @@ void TrayStep::DoShow() { |
bounds.height()); |
FirstRunActor::StepPosition position; |
position.SetTop(bounds.y()); |
- ash::ShelfAlignment alignment = ash::Shelf::ForPrimaryDisplay()->alignment(); |
+ ash::ShelfAlignment alignment = |
+ ash::Shelf::ForPrimaryDisplay()->wm_shelf()->alignment(); |
if ((!base::i18n::IsRTL() && alignment != ash::SHELF_ALIGNMENT_LEFT) || |
alignment == ash::SHELF_ALIGNMENT_RIGHT) |
position.SetRight(GetOverlaySize().width() - bounds.x()); |