Index: chrome/browser/chromeos/ui/setting_level_bubble.cc |
diff --git a/chrome/browser/chromeos/ui/setting_level_bubble.cc b/chrome/browser/chromeos/ui/setting_level_bubble.cc |
index 8635bcc804f2bdd0e06726d4ab36b82ba577577b..a673f47b754e06a6e63ce82746616239b0551ff4 100644 |
--- a/chrome/browser/chromeos/ui/setting_level_bubble.cc |
+++ b/chrome/browser/chromeos/ui/setting_level_bubble.cc |
@@ -82,7 +82,7 @@ gfx::Rect SettingLevelBubbleDelegateView::GetAnchorRect() { |
// Calculate the position in screen coordinates that the bubble should |
// "point" at (since we use BubbleBorder::FLOAT, this position actually |
// specifies the center of the bubble). |
- gfx::Rect monitor_area = gfx::Screen::GetMonitorAreaNearestWindow(NULL); |
+ gfx::Rect monitor_area = gfx::Screen::GetPrimaryMonitor().bounds(); |
return (gfx::Rect( |
monitor_area.x() + kBubbleXRatio * monitor_area.width(), |
monitor_area.bottom() - view_size.height() / 2 - kBubbleBottomGap, 0, 0)); |