| 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;
|
| }
|
|
|