Index: ui/views/corewm/desktop_capture_controller_unittest.cc |
diff --git a/ui/views/corewm/desktop_capture_controller_unittest.cc b/ui/views/corewm/desktop_capture_controller_unittest.cc |
index ad6d849e03ebb985bf39d3aca62f34bf698e441f..8807aafdd6eb322ffccc1993fd2ae12f860e2417 100644 |
--- a/ui/views/corewm/desktop_capture_controller_unittest.cc |
+++ b/ui/views/corewm/desktop_capture_controller_unittest.cc |
@@ -101,6 +101,7 @@ TEST_F(DesktopCaptureControllerTest, ResetMouseHandlers) { |
EXPECT_TRUE(w1_dispatcher->mouse_pressed_handler() == NULL); |
EXPECT_TRUE(w1_dispatcher->mouse_moved_handler() == NULL); |
w2->ReleaseCapture(); |
+ RunPendingMessages(); |
varkha
2014/03/26 00:15:53
This test was failing because all the windows were
sadrul
2014/03/26 18:01:07
I believe some tests run this in the TearDown() ov
varkha
2014/03/27 04:48:13
The problem is that w1/w2 get destroyed when exiti
sadrul
2014/03/27 19:13:46
I see. That sounds like a bug. It would be a good
varkha
2014/03/27 20:05:29
We discussed this offline a bit. If we do not call
|
} |
// Tests aura::Window capture and whether gesture events are sent to the window |