| 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 a18df9cc702f03db162c1df67b70be3c612cc384..07ca41645a2b4801c2611ec8920d01137d878597 100644
|
| --- a/chrome/browser/chromeos/first_run/steps/tray_step.cc
|
| +++ b/chrome/browser/chromeos/first_run/steps/tray_step.cc
|
| @@ -27,10 +27,9 @@ void TrayStep::DoShow() {
|
| bounds.height());
|
| FirstRunActor::StepPosition position;
|
| position.SetTop(bounds.y());
|
| - ash::wm::ShelfAlignment alignment =
|
| - ash::Shelf::ForPrimaryDisplay()->alignment();
|
| - if ((!base::i18n::IsRTL() && alignment != ash::wm::SHELF_ALIGNMENT_LEFT) ||
|
| - alignment == ash::wm::SHELF_ALIGNMENT_RIGHT)
|
| + ash::ShelfAlignment alignment = ash::Shelf::ForPrimaryDisplay()->alignment();
|
| + if ((!base::i18n::IsRTL() && alignment != ash::SHELF_ALIGNMENT_LEFT) ||
|
| + alignment == ash::SHELF_ALIGNMENT_RIGHT)
|
| position.SetRight(GetOverlaySize().width() - bounds.x());
|
| else
|
| position.SetLeft(bounds.right());
|
|
|