| Index: components/test_runner/web_task.h
|
| diff --git a/components/test_runner/web_task.h b/components/test_runner/web_task.h
|
| index 6261405f1023d5ba579d64f2c1d06cb07941d920..3fb4d2d4304b9640287906a4d9f4ccc6b2585fc6 100644
|
| --- a/components/test_runner/web_task.h
|
| +++ b/components/test_runner/web_task.h
|
| @@ -8,6 +8,7 @@
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| +#include "third_party/WebKit/public/platform/WebTaskRunner.h"
|
|
|
| namespace test_runner {
|
|
|
| @@ -15,15 +16,15 @@ class WebTaskList;
|
|
|
| // WebTask represents a task which can run by WebTestDelegate::postTask() or
|
| // WebTestDelegate::postDelayedTask().
|
| -class WebTask {
|
| +class WebTask : public blink::WebTaskRunner::Task {
|
| public:
|
| explicit WebTask(WebTaskList*);
|
| - virtual ~WebTask();
|
| + ~WebTask() override;
|
|
|
| // The main code of this task.
|
| // An implementation of run() should return immediately if cancel() was
|
| // called.
|
| - virtual void run() = 0;
|
| + void run() override = 0;
|
| virtual void cancel() = 0;
|
|
|
| protected:
|
|
|