Index: components/test_runner/web_test_delegate.h |
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h |
index 8a0edeac1856a80aa02f24d5594aa60cfc231e1f..ef5dddf4987d7c153e93d62254bd1b493a8d3604 100644 |
--- a/components/test_runner/web_test_delegate.h |
+++ b/components/test_runner/web_test_delegate.h |
@@ -11,6 +11,7 @@ |
#include "base/callback_forward.h" |
#include "base/memory/ref_counted.h" |
#include "third_party/WebKit/public/platform/WebString.h" |
+#include "third_party/WebKit/public/platform/WebTaskRunner.h" |
#include "third_party/WebKit/public/platform/WebURL.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h" |
@@ -82,8 +83,9 @@ class WebTestDelegate { |
// The delegate takes ownership of the WebTask objects and is responsible |
// for deleting them. |
- virtual void PostTask(WebTask* task) = 0; |
- virtual void PostDelayedTask(WebTask* task, long long ms) = 0; |
+ virtual void PostTask(blink::WebTaskRunner::Task* task) = 0; |
+ virtual void PostDelayedTask(blink::WebTaskRunner::Task* task, |
+ long long ms) = 0; |
// Register a new isolated filesystem with the given files, and return the |
// new filesystem id. |