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

Unified Diff: ash/wm/workspace/workspace_manager_unittest.cc

Issue 9960042: Refactor screen/monitor so that gfx::Screen returns monitor object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 8 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/workspace_manager_unittest.cc
diff --git a/ash/wm/workspace/workspace_manager_unittest.cc b/ash/wm/workspace/workspace_manager_unittest.cc
index 0fa1e59cf4b4b441e96a7e43cabf61eed0b52a8f..008906a28f9a18d6ba4420bd109c3c740f0139ca 100644
--- a/ash/wm/workspace/workspace_manager_unittest.cc
+++ b/ash/wm/workspace/workspace_manager_unittest.cc
@@ -59,7 +59,7 @@ class WorkspaceManagerTest : public test::AshTestBase {
}
gfx::Rect GetFullscreenBounds(aura::Window* window) {
- return gfx::Screen::GetMonitorAreaNearestWindow(window);
+ return gfx::Screen::GetMonitorNearestWindow(window).bounds();
}
Workspace* active_workspace() {

Powered by Google App Engine
This is Rietveld 408576698