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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 11 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/Source/devtools/front_end/sources/SourcesSearchScope.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
index e5798f0800b2348b32c3535aef830de27483dd81..570a7f2dcf11f13d2a1c5c8c8d2aca8ec107a252 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
@@ -148,7 +148,7 @@ WebInspector.SourcesSearchScope.prototype = {
if (dirtyOnly && !uiSourceCode.isDirty())
continue;
if (this._searchConfig.filePathMatchesFileQuery(uiSourceCode.fullDisplayName()))
- result.push(uiSourceCode.path());
+ result.push(uiSourceCode.url());
}
result.sort(String.naturalOrderComparator);
return result;
@@ -175,7 +175,7 @@ WebInspector.SourcesSearchScope.prototype = {
var uiSourceCodes = [];
for (var i = 0; i < files.length; ++i) {
- var uiSourceCode = project.uiSourceCode(files[i]);
+ var uiSourceCode = project.uiSourceCodeForURL(files[i]);
if (uiSourceCode)
uiSourceCodes.push(uiSourceCode);
}

Powered by Google App Engine
This is Rietveld 408576698