| Index: Source/platform/testing/UnitTestHelpers.cpp
|
| diff --git a/Source/platform/testing/UnitTestHelpers.cpp b/Source/platform/testing/UnitTestHelpers.cpp
|
| index 371180755b025ae15f693e514dfe90510cb8e2a2..0da2683589d229d5db219c8d76c9de617e4e35f0 100644
|
| --- a/Source/platform/testing/UnitTestHelpers.cpp
|
| +++ b/Source/platform/testing/UnitTestHelpers.cpp
|
| @@ -27,6 +27,7 @@
|
| #include "platform/testing/UnitTestHelpers.h"
|
|
|
| #include "public/platform/Platform.h"
|
| +#include "public/platform/WebTaskRunner.h"
|
| #include "public/platform/WebThread.h"
|
| #include "public/platform/WebTraceLocation.h"
|
| #include "public/platform/WebUnitTestSupport.h"
|
| @@ -34,7 +35,7 @@
|
| namespace blink {
|
| namespace testing {
|
|
|
| -class QuitTask : public WebThread::Task {
|
| +class QuitTask : public WebTaskRunner::Task {
|
| public:
|
| virtual void run()
|
| {
|
| @@ -44,7 +45,7 @@ public:
|
|
|
| void runPendingTasks()
|
| {
|
| - Platform::current()->currentThread()->postTask(FROM_HERE, new QuitTask);
|
| + Platform::current()->currentThread()->taskRunner()->postTask(FROM_HERE, new QuitTask);
|
| Platform::current()->unitTestSupport()->enterRunLoop();
|
| }
|
|
|
|
|