| Index: Source/web/tests/WebViewTest.cpp
|
| diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
|
| index 73b461dc92b5af09ba5bfcafd29d4d8157fdea40..a9e3240bb1cfacfac5cdf83f88fe16e30c70e1ed 100644
|
| --- a/Source/web/tests/WebViewTest.cpp
|
| +++ b/Source/web/tests/WebViewTest.cpp
|
| @@ -1299,7 +1299,7 @@ TEST_F(WebViewTest, PrintWithXHRInFlight)
|
| m_webViewHelper.reset();
|
| }
|
|
|
| -class DropTask : public WebThread::Task {
|
| +class DropTask : public WebTaskRunner::Task {
|
| public:
|
| explicit DropTask(WebView* webView) : m_webView(webView)
|
| {
|
| @@ -1329,7 +1329,7 @@ static void DragAndDropURL(WebViewImpl* webView, const std::string& url)
|
| const WebPoint clientPoint(0, 0);
|
| const WebPoint screenPoint(0, 0);
|
| webView->dragTargetDragEnter(dragData, clientPoint, screenPoint, WebDragOperationCopy, 0);
|
| - Platform::current()->currentThread()->postTask(FROM_HERE, new DropTask(webView));
|
| + Platform::current()->currentThread()->taskRunner()->postTask(FROM_HERE, new DropTask(webView));
|
| FrameTestHelpers::pumpPendingRequestsDoNotUse(webView->mainFrame());
|
| }
|
|
|
|
|