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

Unified Diff: ash/wm/window_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: fix new addition 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
« no previous file with comments | « ash/wm/window_animations.cc ('k') | ash/wm/window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_manager_unittest.cc
diff --git a/ash/wm/window_manager_unittest.cc b/ash/wm/window_manager_unittest.cc
index b99bbb841bd58effd0fd5f40d0d4f4d425ea3843..b9155aee561e7a00c44cd4e44eb45de0d12c8902 100644
--- a/ash/wm/window_manager_unittest.cc
+++ b/ash/wm/window_manager_unittest.cc
@@ -464,9 +464,9 @@ TEST_F(WindowManagerTest, MouseEventCursors) {
TEST_F(WindowManagerTest, MAYBE_TransformActivate) {
aura::RootWindow* root_window = Shell::GetPrimaryRootWindow();
gfx::Size size = root_window->bounds().size();
- EXPECT_EQ(
- gfx::Rect(size).ToString(),
- gfx::Screen::GetDisplayNearestPoint(gfx::Point()).bounds().ToString());
+ EXPECT_EQ(gfx::Rect(size).ToString(),
+ Shell::GetScreen()->GetDisplayNearestPoint(
+ gfx::Point()).bounds().ToString());
// Rotate it clock-wise 90 degrees.
ui::Transform transform;
« no previous file with comments | « ash/wm/window_animations.cc ('k') | ash/wm/window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698