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

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

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 years, 2 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 39f13aa8514dbccb4212632a96f6c4061dcb7ffa..d8c522d24a382050d317d62d42400ca6e3b9ba39 100644
--- a/ash/wm/workspace/workspace_manager_unittest.cc
+++ b/ash/wm/workspace/workspace_manager_unittest.cc
@@ -71,7 +71,7 @@ class WorkspaceManagerTest : public test::AshTestBase {
}
gfx::Rect GetFullscreenBounds(aura::Window* window) {
- return gfx::Screen::GetDisplayNearestWindow(window).bounds();
+ return ash::Shell::GetAshScreen()->GetDisplayNearestWindow(window).bounds();
}
Workspace* active_workspace() {

Powered by Google App Engine
This is Rietveld 408576698