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

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

Issue 2537223003: [DevTools] Introduce Project.isServiceProject method. (Closed)
Patch Set: rebased Created 4 years 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/UISourceCodeFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
index 6da0f29cf87d00306b0008a524b12b59d9f0129f..1693e31c5a4725cc1453f05432f579c09e13573b 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
@@ -156,7 +156,7 @@ Sources.UISourceCodeFrame = class extends SourceFrame.SourceFrame {
return true;
if (this._uiSourceCode.project().canSetFileContent())
return true;
- if (this._uiSourceCode.isFromServiceProject())
+ if (this._uiSourceCode.project().isServiceProject())
return false;
return this._uiSourceCode.contentType() !== Common.resourceTypes.Document;
}

Powered by Google App Engine
This is Rietveld 408576698