Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: LayoutTests/http/tests/inspector/stylesheet-source-mapping.html

Issue 356033002: DevTools: Get rid of WebInspector.debuggerModel in NetworkUISourceCodeProvider (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address vsevik's comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698