Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js b/third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
| index edb31f35ba9b287b680087d3f10c9456c9ce290a..5314b381bd21a09825291ac138feba1084553f2e 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
| @@ -70,6 +70,8 @@ WebInspector.InplaceFormatterEditorAction.prototype = { |
| return false; |
| if (uiSourceCode.project().type() === WebInspector.projectTypes.FileSystem) |
|
dgozman
2016/09/22 19:55:53
Let's add a possible follow-up to remove this laye
lushnikov
2016/09/23 21:56:13
Done: https://docs.google.com/document/d/12EU7HgFN
|
| return true; |
| + if (WebInspector.persistence.binding(uiSourceCode)) |
| + return true; |
| return uiSourceCode.contentType().isStyleSheet() |
| || uiSourceCode.project().type() === WebInspector.projectTypes.Snippets; |
| }, |