| Index: webkit/tools/test_shell/notification_presenter.cc
|
| diff --git a/webkit/tools/test_shell/notification_presenter.cc b/webkit/tools/test_shell/notification_presenter.cc
|
| index 1628f47cee3fd7690d78f4db9a81167c01a71efe..b5f72341d6f0bbf89ea1dc1c3e19f5fe2e61295e 100644
|
| --- a/webkit/tools/test_shell/notification_presenter.cc
|
| +++ b/webkit/tools/test_shell/notification_presenter.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "webkit/tools/test_shell/notification_presenter.h"
|
|
|
| +#include "base/bind.h"
|
| #include "base/message_loop.h"
|
| #include "base/task.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -74,8 +75,8 @@ bool TestNotificationPresenter::show(const WebNotification& notification) {
|
|
|
|
|
| WebNotification event_target(notification);
|
| - MessageLoop::current()->PostTask(FROM_HERE,
|
| - NewRunnableFunction(&DeferredDisplayDispatch, event_target));
|
| + MessageLoop::current()->PostTask(
|
| + FROM_HERE, base::Bind(&DeferredDisplayDispatch, event_target));
|
| return true;
|
| }
|
|
|
|
|