Bug 1292574 - make CSS a global rather than a module in devtools loader; r=gregtatum

MozReview-Commit-ID: 5RYwDAW4wxt
This commit is contained in:
Tom Tromey
2016-08-05 08:32:59 -06:00
parent 948dc0b523
commit 6892a50d74
9 changed files with 7 additions and 22 deletions

View File

@@ -35,10 +35,6 @@ const { getRootBindingParent } = require("devtools/shared/layout/utils");
const nodeConstants = require("devtools/shared/dom-node-constants");
const {l10n, isContentStylesheet, shortSource, FILTER, STATUS} = require("devtools/shared/inspector/css-logic");
// This should be ok because none of the functions that use this should be used
// on the worker thread, where Cu is not available.
loader.lazyRequireGetter(this, "CSS", "CSS");
loader.lazyRequireGetter(this, "CSSLexer", "devtools/shared/css-lexer");
/**