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

Unified Diff: ash/wm/workspace_controller_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/wm/workspace_controller_unittest.cc
diff --git a/ash/wm/workspace_controller_unittest.cc b/ash/wm/workspace_controller_unittest.cc
index 3739158577a6a31a7d5e5282f277b6136d93cacf..2b884eb066539eb2219e0cc537d8402b7ff454ca 100644
--- a/ash/wm/workspace_controller_unittest.cc
+++ b/ash/wm/workspace_controller_unittest.cc
@@ -139,7 +139,7 @@ class WorkspaceControllerTest : public test::AshTestBase {
}
gfx::Rect GetFullscreenBounds(aura::Window* window) {
- return Shell::GetScreen()->GetDisplayNearestWindow(window).bounds();
+ return gfx::Screen::GetScreen()->GetDisplayNearestWindow(window).bounds();
}
ShelfWidget* shelf_widget() {
@@ -626,7 +626,7 @@ TEST_F(WorkspaceControllerTest, MoveOnSwitch) {
// Increase the size of the WorkAreaInsets. This would make |w1| fall
// completely out of the display work area.
gfx::Insets insets =
- Shell::GetScreen()->GetPrimaryDisplay().GetWorkAreaInsets();
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().GetWorkAreaInsets();
insets.Set(0, 0, insets.bottom() + 30, 0);
Shell::GetInstance()->SetDisplayWorkAreaInsets(w1.get(), insets);
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | chrome/browser/chromeos/accessibility/chromevox_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698