| Index: webkit/glue/webkitplatformsupport_impl.cc
|
| diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
|
| index ce9cf2e8129213dc291a57759f1c049de643fd31..4ab1a54681d9159dc484d7a09f022ae77a1c1136 100644
|
| --- a/webkit/glue/webkitplatformsupport_impl.cc
|
| +++ b/webkit/glue/webkitplatformsupport_impl.cc
|
| @@ -12,6 +12,7 @@
|
|
|
| #include <vector>
|
|
|
| +#include "base/bind.h"
|
| #include "base/debug/trace_event.h"
|
| #include "base/memory/singleton.h"
|
| #include "base/message_loop.h"
|
| @@ -543,7 +544,7 @@ void WebKitPlatformSupportImpl::stopSharedTimer() {
|
|
|
| void WebKitPlatformSupportImpl::callOnMainThread(
|
| void (*func)(void*), void* context) {
|
| - main_loop_->PostTask(FROM_HERE, NewRunnableFunction(func, context));
|
| + main_loop_->PostTask(FROM_HERE, base::Bind(func, context));
|
| }
|
|
|
| WebKit::WebThread* WebKitPlatformSupportImpl::createThread(const char* name) {
|
|
|