Index: chrome/test/base/ui_test_utils.cc |
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc |
index f2e6f8a46b1650c4845b24ddd14a675d5748d58d..b01ff101dc54667c293f2783b369044e71261fcc 100644 |
--- a/chrome/test/base/ui_test_utils.cc |
+++ b/chrome/test/base/ui_test_utils.cc |
@@ -604,7 +604,7 @@ bool SendKeyPressSync(const Browser* browser, |
if (!ui_controls::SendKeyPressNotifyWhenDone( |
window, key, control, shift, alt, command, |
- new MessageLoop::QuitTask())) { |
+ base::Closure())) { |
LOG(ERROR) << "ui_controls::SendKeyPressNotifyWhenDone failed"; |
return false; |
} |