commit | 93d8e2cd12d0c12a33d08eb6d1da23be9461ddf5 | [log] [tgz] |
---|---|---|
author | Paul Lewis <[email protected]> | Fri Jan 24 16:34:55 2020 |
committer | Commit Bot <[email protected]> | Fri Jan 24 17:07:25 2020 |
tree | ec7a798e9e4de8616511a69d0ef35d322f5a59e2 | |
parent | a647af0d9f8d8188af2a02b81cf4bc8cefc1e6df [diff] [blame] |
[Global] Update refs to UI.themeSupport Bug: 1006759 Change-Id: I8d11fd8de1f43e2add97dd09dd539bfda4a23f39 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2019560 Commit-Queue: Paul Lewis <[email protected]> Reviewed-by: Tim van der Lippe <[email protected]>
diff --git a/front_end/ui/utils/append-style.js b/front_end/ui/utils/append-style.js index 385bee9..d9d2d29 100644 --- a/front_end/ui/utils/append-style.js +++ b/front_end/ui/utils/append-style.js
@@ -16,7 +16,7 @@ styleElement.textContent = content; node.appendChild(styleElement); - const themeStyleSheet = UI.themeSupport.themeStyleSheet(cssFile, content); + const themeStyleSheet = self.UI.themeSupport.themeStyleSheet(cssFile, content); if (themeStyleSheet) { styleElement = createElement('style'); styleElement.textContent = themeStyleSheet + '\n' + Root.Runtime.resolveSourceURL(cssFile + '.theme');