Index: chrome/test/base/ui_test_utils_aura.cc |
diff --git a/chrome/test/base/ui_test_utils_aura.cc b/chrome/test/base/ui_test_utils_aura.cc |
index 51781af0b02e15bacabc1d6161e1bb3c2d88b0fe..b62ac2191713181293ff4b3640d6ccde4fe53163 100644 |
--- a/chrome/test/base/ui_test_utils_aura.cc |
+++ b/chrome/test/base/ui_test_utils_aura.cc |
@@ -37,7 +37,7 @@ void ClickOnView(const Browser* browser, ViewID vid) { |
view, |
ui_controls::LEFT, |
ui_controls::DOWN | ui_controls::UP, |
- new MessageLoop::QuitTask()); |
+ MessageLoop::QuitClosure()); |
RunMessageLoop(); |
} |