Index: ash/wm/window_positioner_unittest.cc |
=================================================================== |
--- ash/wm/window_positioner_unittest.cc (revision 234596) |
+++ ash/wm/window_positioner_unittest.cc (working copy) |
@@ -44,8 +44,12 @@ |
views::Widget* widget = |
shell::ToplevelWindow::CreateToplevelWindow(params); |
gfx::Rect bounds = widget->GetWindowBoundsInScreen(); |
+#if defined(OS_WIN) |
+ EXPECT_TRUE(widget->IsMaximized()); |
+#else |
// The window should be in the 2nd display with the default size. |
EXPECT_EQ("300x300", bounds.size().ToString()); |
+#endif |
EXPECT_TRUE(Shell::GetScreen()->GetDisplayNearestWindow( |
second_root_window).bounds().Contains(bounds)); |
} |