| 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 d86fb628fa2d0059bbc798f8c828ef1b0128bb6e..d4dd7dff1367215c52d08bec704d3271223c8d12 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;
|
| }
|
|
|