Index: ui/chromeos/ime/mode_indicator_view.cc |
diff --git a/ui/chromeos/ime/mode_indicator_view.cc b/ui/chromeos/ime/mode_indicator_view.cc |
index a9105eb31666b2c4ed24490aa92e072a930cb3d2..8fbcd1dff85eb5663266a7818eb17085fececd0f 100644 |
--- a/ui/chromeos/ime/mode_indicator_view.cc |
+++ b/ui/chromeos/ime/mode_indicator_view.cc |
@@ -34,8 +34,9 @@ class ModeIndicatorFrameView : public views::BubbleFrameView { |
private: |
// views::BubbleFrameView overrides: |
gfx::Rect GetAvailableScreenBounds(const gfx::Rect& rect) const override { |
- return gfx::Screen::GetNativeScreen()->GetDisplayNearestPoint( |
- rect.CenterPoint()).bounds(); |
+ return gfx::Screen::GetScreen() |
+ ->GetDisplayNearestPoint(rect.CenterPoint()) |
+ .bounds(); |
} |
DISALLOW_COPY_AND_ASSIGN(ModeIndicatorFrameView); |