diff --git a/components-chromium/polymer/lib/elements/custom-style.js b/components-chromium/polymer/lib/elements/custom-style.js index e0d2021372554..c667b6ee83a03 100644 --- a/components-chromium/polymer/lib/elements/custom-style.js +++ b/components-chromium/polymer/lib/elements/custom-style.js @@ -7,14 +7,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -import '../../../shadycss/entrypoints/custom-style-interface.js'; import { cssFromModules } from '../utils/style-gather.js'; const attr = 'include'; -const CustomStyleInterface = window.ShadyCSS.CustomStyleInterface; - /** * Custom element for defining styles in the main document that can take * advantage of [shady DOM](https://github.com/webcomponents/shadycss) shims @@ -65,7 +62,6 @@ export class CustomStyle extends HTMLElement { constructor() { super(); this._style = null; - CustomStyleInterface.addCustomStyle(this); } /** * Returns the light-DOM `