Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html |
index ebcb2d4acd13b6cc55fbbb259a3c6ce3540d04a7..d1c281883eafcaf718387bf945475ebce7a2f764 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html |
@@ -39,7 +39,7 @@ function test() |
function step2() |
{ |
imageRequest = InspectorTest.networkRequests().pop(); |
- imageRequest.requestContent(step3); |
+ imageRequest.requestContent().then(step3); |
} |
function step3() |
@@ -72,7 +72,7 @@ function test() |
{ |
// Re-request content now that CachedResource should have been destroyed. |
delete imageRequest._content; |
- imageRequest.requestContent(step7); |
+ imageRequest.requestContent().then(step7); |
} |
function step7() |