Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js b/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js |
| index 11df86efbac84c4606ce9391437b29b1b122ea8d..39002738d005491d41f206defdcbf705544cc22f 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js |
| @@ -80,7 +80,7 @@ WebInspector.FilteredUISourceCodeListDelegate.prototype = { |
| */ |
| itemKeyAt: function(itemIndex) |
| { |
| - return this._uiSourceCodes[itemIndex].fullDisplayName(); |
| + return this._uiSourceCodes[itemIndex].url(); |
| }, |
| /** |
| @@ -101,7 +101,7 @@ WebInspector.FilteredUISourceCodeListDelegate.prototype = { |
| this._scorer = new WebInspector.FilePathScoreFunction(query); |
| } |
| - var path = uiSourceCode.fullDisplayName(); |
| + var path = uiSourceCode.url(); |
|
dgozman
2016/01/08 20:22:07
Not sure about this change - may surprise users.
pfeldman
2016/01/08 23:56:32
This only differs by the (index) modulus.
|
| return score + 10 * this._scorer.score(path, null); |
| }, |