Index: ui/views/corewm/tooltip_controller_unittest.cc |
diff --git a/ui/views/corewm/tooltip_controller_unittest.cc b/ui/views/corewm/tooltip_controller_unittest.cc |
index 152a5a2e1d8a592289045dfc86c8ac0ab4459c3d..4764fc7115e675f398c0832b629b287897846388 100644 |
--- a/ui/views/corewm/tooltip_controller_unittest.cc |
+++ b/ui/views/corewm/tooltip_controller_unittest.cc |
@@ -466,6 +466,7 @@ class TooltipControllerCaptureTest : public TooltipControllerTest { |
// Verifies when capture is released the TooltipController resets state. |
TEST_F(TooltipControllerCaptureTest, CloseOnCaptureLost) { |
view_->GetWidget()->SetCapture(view_); |
+ RunAllPendingInMessageLoop(); |
view_->set_tooltip_text(ASCIIToUTF16("Tooltip Text")); |
generator_->MoveMouseToCenterOf(GetWindow()); |
base::string16 expected_tooltip = ASCIIToUTF16("Tooltip Text"); |