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

Unified Diff: ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: cros 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
Index: ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc
diff --git a/ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc b/ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc
index ff206b3372cd3231caf6b88f54db00a93e0e22f3..124513ae3c764379035ab44a3774704deffd2a88 100644
--- a/ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc
+++ b/ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc
@@ -48,7 +48,8 @@ TEST_P(KeyboardOverlayDelegateTest, ShowAndClose) {
widget->GetNativeWindow()->GetRootWindow());
// The widget is horizontally centered at the bottom of the work area.
- gfx::Rect work_area = Shell::GetScreen()->GetPrimaryDisplay().work_area();
+ gfx::Rect work_area =
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
gfx::Rect bounds = widget->GetRestoredBounds();
EXPECT_EQ(work_area.CenterPoint().x(), bounds.CenterPoint().x());
EXPECT_EQ(work_area.bottom(), bounds.bottom());
« no previous file with comments | « ash/content/keyboard_overlay/keyboard_overlay_delegate.cc ('k') | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698