Commit e07270b2 authored by Joel Einbinder's avatar Joel Einbinder Committed by Commit Bot

DevTools: Remove unused CodeMirrorCSSLoadView

This code was not used

Change-Id: I57c742e34811807e091d8a833fa89ac0487e64bf
Reviewed-on: https://chromium-review.googlesource.com/c/1356128Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612771}
parent 94f13968
......@@ -153,19 +153,3 @@ TextEditor.CodeMirrorUtils.TokenizerFactory = class {
return tokenize;
}
};
/**
* @unrestricted
*/
TextEditor.CodeMirrorCSSLoadView = class extends UI.VBox {
/**
* This bogus view is needed to load/unload CodeMirror-related CSS on demand.
*/
constructor() {
super();
this.element.classList.add('hidden');
this.registerRequiredCSS('cm/codemirror.css');
this.registerRequiredCSS('text_editor/cmdevtools.css');
TextEditor.CodeMirrorUtils.appendThemeStyle(this.element);
}
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment