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

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

Issue 2349343002: DevTools: introduce persistence/ module (Closed)
Patch Set: reupload Created 4 years, 3 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 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()))

Powered by Google App Engine
This is Rietveld 408576698