Index: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html |
index f914145918a1c796b0139ed9d00f0e595d1d0b8b..40c6a18207b71afd717ee7bd4dcb2709a9ec8345 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html |
@@ -21,7 +21,7 @@ function test() |
InspectorTest.addResult(cssResource.url); |
InspectorTest.assertEquals(cssResource.resourceType(), WebInspector.resourceTypes.Stylesheet, "Resource type should be Stylesheet."); |
InspectorTest.assertTrue(!cssResource.failed, "Resource loading failed."); |
- cssResource.requestContent(step2); |
+ cssResource.requestContent().then(step2); |
} |
function step2() |