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 5b8ca74de02503280cfb7d8eee4dc3c6de7c38b5..d44213574a2f24c486aee92eb05f87fa04513c73 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/InplaceFormatterEditorAction.js |
@@ -82,7 +82,7 @@ Sources.InplaceFormatterEditorAction = class { |
* @param {?string} content |
*/ |
function contentLoaded(content) { |
- var highlighterType = Bindings.NetworkProject.uiSourceCodeMimeType(uiSourceCode); |
+ var highlighterType = uiSourceCode.mimeType(); |
Sources.Formatter.format(uiSourceCode.contentType(), highlighterType, content || '', innerCallback.bind(this)); |
} |