Index: LayoutTests/http/tests/inspector/stylesheet-source-mapping.html |
diff --git a/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html b/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html |
index 0a71f2c7b39d1d931b41897564d35dd5d1a01479..d6377676e8e6c36e94d665347ed36c3d92ee357f 100644 |
--- a/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html |
+++ b/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html |
@@ -51,7 +51,7 @@ function test() |
{ |
const documentURL = "http://localhost:8000/inspector/stylesheet-source-mapping.html"; |
const frame = WebInspector.resourceTreeModel.mainFrame; |
- var resource = new WebInspector.Resource(null, url, documentURL, frame.id, frame.loaderId, WebInspector.resourceTypes.Stylesheet, mimeType); |
+ var resource = new WebInspector.Resource(WebInspector.resourceTreeModel.target(), null, url, documentURL, frame.id, frame.loaderId, WebInspector.resourceTypes.Stylesheet, mimeType); |
resource.requestContent = function(callback) |
{ |
callback(content, false, mimeType); |