Skip to content

Commit

Permalink
DevTools: Remove unused CodeMirrorCSSLoadView
Browse files Browse the repository at this point in the history
This code was not used

Change-Id: I57c742e34811807e091d8a833fa89ac0487e64bf
Reviewed-on: https://chromium-review.googlesource.com/c/1356128
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612771}
  • Loading branch information
JoelEinbinder authored and Commit Bot committed Nov 30, 2018
1 parent 94f1396 commit e07270b
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};

0 comments on commit e07270b

Please sign in to comment.