| 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 6b1f77ff292b321c3af6d36c77ec9de270709fed..85fb0a2271222061e173a2da2e8e396c857df551 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
|
| @@ -47,11 +47,11 @@ WebInspector.SourcesSearchScope._filesComparator = function(uiSourceCode1, uiSou
|
| return -1;
|
| if (!uiSourceCode1.isDirty() && uiSourceCode2.isDirty())
|
| return 1;
|
| - var networkURL1 = WebInspector.networkMapping.networkURL(uiSourceCode1);
|
| - var networkURL2 = WebInspector.networkMapping.networkURL(uiSourceCode2);
|
| - if (networkURL1 && !networkURL2)
|
| + var url1 = uiSourceCode1.url();
|
| + var url2 = uiSourceCode2.url();
|
| + if (url1 && !url2)
|
| return -1;
|
| - if (!networkURL1 && networkURL2)
|
| + if (!url1 && url2)
|
| return 1;
|
| return String.naturalOrderComparator(uiSourceCode1.fullDisplayName(), uiSourceCode2.fullDisplayName());
|
| }
|
|
|