Index: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html |
index d8ef4de55ba13f53601a4c2fd25112abe0003392..7ba9934dbccedc5f324d87e899bd893d3526b04a 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html |
@@ -29,7 +29,7 @@ function test() |
InspectorTest.addResult("Cannot find resource"); |
InspectorTest.completeTest(); |
} |
- resource.requestContent(contentLoaded); |
+ resource.requestContent().then(contentLoaded); |
contentWasRequested = true; |
} |