| Index: components/test_runner/test_plugin.cc
|
| diff --git a/components/test_runner/test_plugin.cc b/components/test_runner/test_plugin.cc
|
| index 4b3d50064ff44374585478977ba3ab480a3829de..f2fc97afcbcc3ed3858f68f256825770467716f3 100644
|
| --- a/components/test_runner/test_plugin.cc
|
| +++ b/components/test_runner/test_plugin.cc
|
| @@ -14,6 +14,7 @@
|
| #include "third_party/WebKit/public/platform/Platform.h"
|
| #include "third_party/WebKit/public/platform/WebCompositorSupport.h"
|
| #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
|
| +#include "third_party/WebKit/public/platform/WebTaskRunner.h"
|
| #include "third_party/WebKit/public/platform/WebThread.h"
|
| #include "third_party/WebKit/public/platform/WebTraceLocation.h"
|
| #include "third_party/WebKit/public/web/WebFrame.h"
|
| @@ -125,7 +126,7 @@ blink::WebPluginContainer::TouchEventRequestType ParseTouchEventRequestType(
|
| return blink::WebPluginContainer::TouchEventRequestTypeNone;
|
| }
|
|
|
| -class DeferredDeleteTask : public blink::WebThread::Task {
|
| +class DeferredDeleteTask : public blink::WebTaskRunner::Task {
|
| public:
|
| DeferredDeleteTask(scoped_ptr<TestPlugin> plugin) : plugin_(plugin.Pass()) {}
|
|
|
| @@ -253,7 +254,7 @@ void TestPlugin::destroy() {
|
| container_ = 0;
|
| frame_ = 0;
|
|
|
| - blink::Platform::current()->mainThread()->postTask(
|
| + blink::Platform::current()->mainThread()->taskRunner()->postTask(
|
| blink::WebTraceLocation(__FUNCTION__, __FILE__),
|
| new DeferredDeleteTask(make_scoped_ptr(this)));
|
| }
|
|
|