summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/tray_bubble_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/system/tray/tray_bubble_view.cc')
-rw-r--r--ash/system/tray/tray_bubble_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/system/tray/tray_bubble_view.cc b/ash/system/tray/tray_bubble_view.cc
index 250cb0c..da998a1d 100644
--- a/ash/system/tray/tray_bubble_view.cc
+++ b/ash/system/tray/tray_bubble_view.cc
@@ -269,7 +269,7 @@ gfx::Rect TrayBubbleView::GetAnchorRect() {
rect = host_->GetAnchorRect();
// TODO(jennyz): May need to add left/right alignment in the following code.
if (rect.IsEmpty()) {
- rect = gfx::Screen::GetPrimaryMonitor().bounds();
+ rect = gfx::Screen::GetPrimaryDisplay().bounds();
rect = gfx::Rect(
base::i18n::IsRTL() ? kPaddingFromRightEdgeOfScreenBottomAlignment :
rect.width() - kPaddingFromRightEdgeOfScreenBottomAlignment,