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 a3f4e5a5927f8d6153ae19911405d17ca866ed9e..6b1f77ff292b321c3af6d36c77ec9de270709fed 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js |
@@ -145,6 +145,9 @@ WebInspector.SourcesSearchScope.prototype = { |
var uiSourceCodes = project.uiSourceCodes(); |
for (var i = 0; i < uiSourceCodes.length; ++i) { |
var uiSourceCode = uiSourceCodes[i]; |
+ var binding = WebInspector.persistence.binding(uiSourceCode); |
+ if (binding && binding.fileSystem === uiSourceCode) |
+ continue; |
if (dirtyOnly && !uiSourceCode.isDirty()) |
continue; |
if (this._searchConfig.filePathMatchesFileQuery(uiSourceCode.fullDisplayName())) |