Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: ui/chromeos/ime/mode_indicator_view.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/chromeos/ime/candidate_window_view.cc ('k') | ui/events/event_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/chromeos/ime/candidate_window_view.cc ('k') | ui/events/event_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698