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

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

Issue 2247483003: [DevTools] Removed isInternalScript flag from protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-internal-script-flag
Patch Set: Created 4 years, 4 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 edf528a606ddff1df244de67218a7d2a309874e5..a3f4e5a5927f8d6153ae19911405d17ca866ed9e 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesSearchScope.js
@@ -178,7 +178,7 @@ WebInspector.SourcesSearchScope.prototype = {
var uiSourceCode = project.uiSourceCodeForURL(files[i]);
if (uiSourceCode) {
var script = WebInspector.DefaultScriptMapping.scriptForUISourceCode(uiSourceCode);
- if (script && (script.isInternalScript() || !script.isAnonymousScript()))
+ if (script && !script.isAnonymousScript())
continue;
uiSourceCodes.push(uiSourceCode);
}

Powered by Google App Engine
This is Rietveld 408576698