Index: ash/wm/frame_painter_unittest.cc |
diff --git a/ash/wm/frame_painter_unittest.cc b/ash/wm/frame_painter_unittest.cc |
index c81ca7cd73bcc3594728b3002734dc9144c03b49..27d46849ea0ef4d29212edacfdc6c635a855bd0e 100644 |
--- a/ash/wm/frame_painter_unittest.cc |
+++ b/ash/wm/frame_painter_unittest.cc |
@@ -464,6 +464,9 @@ TEST_F(FramePainterTest, UseSoloWindowHeaderConstrained) { |
#endif |
TEST_F(FramePainterTest, MAYBE_UseSoloWindowHeaderMultiDisplay) { |
+ if (!SupportsMultipleDisplays()) |
+ return; |
+ |
UpdateDisplay("1000x600,600x400"); |
// Create two widgets and painters for them. |