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) |
return true; |
+ if (WebInspector.persistence.binding(uiSourceCode)) |
+ return true; |
return uiSourceCode.contentType().isStyleSheet() |
|| uiSourceCode.project().type() === WebInspector.projectTypes.Snippets; |
}, |