Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html |
index 461151b607930da6d09357e4ae01ea9b117a815c..cea595f63e9251b6e666f97588e5fa5169a2d984 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html |
@@ -36,7 +36,7 @@ function test() |
function step2() |
{ |
imageRequest = InspectorTest.networkRequests().pop(); |
- imageRequest.requestContent(step3); |
+ imageRequest.requestContent().then(step3); |
} |
var originalContentLength; |
@@ -69,7 +69,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() |