Index: ui/views/bubble/bubble_frame_view.cc |
diff --git a/ui/views/bubble/bubble_frame_view.cc b/ui/views/bubble/bubble_frame_view.cc |
index b11ee79c6f1d4f79990482f5e17aeca8e8a753ea..3d1f195bfa07b11c4cfbaf057dd81d9e05eef381 100644 |
--- a/ui/views/bubble/bubble_frame_view.cc |
+++ b/ui/views/bubble/bubble_frame_view.cc |
@@ -370,9 +370,9 @@ gfx::Rect BubbleFrameView::GetUpdatedWindowBounds(const gfx::Rect& anchor_rect, |
gfx::Rect BubbleFrameView::GetAvailableScreenBounds( |
const gfx::Rect& rect) const { |
// The bubble attempts to fit within the current screen bounds. |
- // TODO(scottmg): Native is wrong. http://crbug.com/133312 |
- return gfx::Screen::GetNativeScreen()->GetDisplayNearestPoint( |
- rect.CenterPoint()).work_area(); |
+ return gfx::Screen::GetScreen() |
+ ->GetDisplayNearestPoint(rect.CenterPoint()) |
+ .work_area(); |
} |
bool BubbleFrameView::IsCloseButtonVisible() const { |