| Index: chrome/browser/automation/ui_controls_win.cc
|
| diff --git a/chrome/browser/automation/ui_controls_win.cc b/chrome/browser/automation/ui_controls_win.cc
|
| index 1cfcbaf351ecba545d6a12099ca0a0fc0730d803..3ffa9d105de4a30e75bc89ebab1ff83bb0d460df 100644
|
| --- a/chrome/browser/automation/ui_controls_win.cc
|
| +++ b/chrome/browser/automation/ui_controls_win.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/automation/ui_controls.h"
|
|
|
| +#include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/message_loop.h"
|
| @@ -126,8 +127,8 @@ void InputDispatcher::MatchingMessageFound() {
|
| UninstallHook(this);
|
| // At the time we're invoked the event has not actually been processed.
|
| // Use PostTask to make sure the event has been processed before notifying.
|
| - MessageLoop::current()->PostDelayedTask(
|
| - FROM_HERE, NewRunnableMethod(this, &InputDispatcher::NotifyTask), 0);
|
| + MessageLoop::current()->PostTask(
|
| + FROM_HERE, base::Bind(&InputDispatcher::NotifyTask, this));
|
| }
|
|
|
| void InputDispatcher::NotifyTask() {
|
|
|