Index: ash/system/web_notification/ash_popup_alignment_delegate.cc |
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.cc b/ash/system/web_notification/ash_popup_alignment_delegate.cc |
index 98fffe99ea3b4435e8783d2be85d27a1dd16f1c6..a49a78c6e2d800f25c1542f8184b5203271ac856 100644 |
--- a/ash/system/web_notification/ash_popup_alignment_delegate.cc |
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc |
@@ -85,11 +85,8 @@ int AshPopupAlignmentDelegate::GetToastOriginX( |
} |
int AshPopupAlignmentDelegate::GetBaseLine() const { |
- return IsTopDown() |
- ? work_area_.y() + kNoToastMarginBorderAndShadowOffset + |
- system_tray_height_ |
- : work_area_.bottom() - kNoToastMarginBorderAndShadowOffset - |
- system_tray_height_; |
+ return work_area_.bottom() - kNoToastMarginBorderAndShadowOffset - |
+ system_tray_height_; |
} |
int AshPopupAlignmentDelegate::GetWorkAreaBottom() const { |
@@ -97,7 +94,7 @@ int AshPopupAlignmentDelegate::GetWorkAreaBottom() const { |
} |
bool AshPopupAlignmentDelegate::IsTopDown() const { |
- return GetAlignment() == SHELF_ALIGNMENT_TOP; |
+ return false; |
} |
bool AshPopupAlignmentDelegate::IsFromLeft() const { |