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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.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/ScriptFormatterEditorAction.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js b/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
index 80d29525dc2ec06ff1fc3f4020ee540107730538..15762866023d2c61ba3608320c4d9389e58ab74a 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js
@@ -104,7 +104,8 @@ Sources.ScriptFormatterEditorAction = class {
constructor() {
this._projectId = 'formatter:';
this._project = new Bindings.ContentProviderBasedProject(
- Workspace.workspace, this._projectId, Workspace.projectTypes.Formatter, 'formatter');
+ Workspace.workspace, this._projectId, Workspace.projectTypes.Formatter, 'formatter',
+ true /* isServiceProject */);
/** @type {!Map.<!SDK.Script, !Workspace.UISourceCode>} */
this._uiSourceCodes = new Map();

Powered by Google App Engine
This is Rietveld 408576698