Index: ash/magnifier/magnification_controller_unittest.cc |
diff --git a/ash/magnifier/magnification_controller_unittest.cc b/ash/magnifier/magnification_controller_unittest.cc |
index 1f734a82c8f3290b4a477c0720af4cd53a4dec7c..d2e61356592c37faf80f4df0bad7ae8511dc7deb 100644 |
--- a/ash/magnifier/magnification_controller_unittest.cc |
+++ b/ash/magnifier/magnification_controller_unittest.cc |
@@ -67,12 +67,11 @@ class MagnificationControllerTest: public test::AshTestBase { |
AshTestBase::SetUp(); |
UpdateDisplay(base::StringPrintf("%dx%d", kRootWidth, kRootHeight)); |
- aura::Window* root = GetRootWindow(); |
- gfx::Rect root_bounds(root->bounds()); |
- |
#if defined(OS_WIN) |
// RootWindow and Display can't resize on Windows Ash. |
// http://crbug.com/165962 |
+ aura::Window* root = GetRootWindow(); |
+ gfx::Rect root_bounds(root->bounds()); |
EXPECT_EQ(kRootHeight, root_bounds.height()); |
EXPECT_EQ(kRootWidth, root_bounds.width()); |
#endif |