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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
index 73cc102190485581f6ba225762835ef03f3d2d76..3b7aa0e62e83d6d30f07e79b3b2d69beacc194f1 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
@@ -65,9 +65,9 @@ function test()
function addNetworkUISourceCode(url, content)
{
- var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, content);
+ var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, content, url);
var networkProject = WebInspector.NetworkProject.forTarget(WebInspector.targetManager.mainTarget());
- var uiSourceCode = networkProject.addFileForURL(url, contentProvider, InspectorTest.mainFrame(), false);
+ var uiSourceCode = networkProject.addFile(contentProvider, InspectorTest.mainFrame(), false);
return uiSourceCode;
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698