Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 8212006: base::Bind: Cleanup in automation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Linux test fixes. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4597a598c3055258a02b56df0d93b39fafeefa17 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())) {
+ MessageLoop::QuitClosure())) {
LOG(ERROR) << "ui_controls::SendKeyPressNotifyWhenDone failed";
return false;
}

Powered by Google App Engine
This is Rietveld 408576698