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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html

Issue 1957053002: DevTools: simplify NetworkProject.addFileForURL method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
index 4d2b1c7676dac3d01450f5e63027a5dadcedf38f..1b89a7ab41689406ba1348d186d7edbd7514801e 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
@@ -22,8 +22,8 @@ function test()
var uiSourceCodes = [];
function addUISourceCode(url, isContentScript)
{
- var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "");
- var uiSourceCode = InspectorTest.testNetworkProject.addFileForURL(url, contentProvider, InspectorTest.mainFrame(), isContentScript);
+ var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "", url);
+ var uiSourceCode = InspectorTest.testNetworkProject.addFile(contentProvider, InspectorTest.mainFrame(), isContentScript);
uiSourceCodes.push(uiSourceCode);
}

Powered by Google App Engine
This is Rietveld 408576698