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

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

Issue 2587533002: DevTools: consistently use relative name for filesystem resources. (Closed)
Patch Set: same Created 4 years 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/OpenResourceDialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
index f9baca446b9ed3aba08a1f2f6c671837aec2c9fb..12ea268d1042c2c11f8a8e23bfb008f19108e966 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
@@ -26,8 +26,9 @@ Sources.OpenResourceDialog = class extends Sources.FilteredUISourceCodeListDeleg
* @param {!Array<string>} history
*/
static show(sourcesView, query, defaultScores, history) {
- Sources.OpenResourceDialog._instanceForTest = new Sources.OpenResourceDialog(sourcesView, defaultScores, history);
- var filteredItemSelectionDialog = new UI.FilteredListWidget(Sources.OpenResourceDialog._instanceForTest);
+ var dialog = new Sources.OpenResourceDialog(sourcesView, defaultScores, history);
+ Sources.OpenResourceDialog._instanceForTest = dialog;
+ var filteredItemSelectionDialog = new UI.FilteredListWidget(dialog);
filteredItemSelectionDialog.showAsDialog();
filteredItemSelectionDialog.setQuery(query);
}

Powered by Google App Engine
This is Rietveld 408576698