Move setting of custom element default style outside of constructor
Previously custom element default style is passed to the constructor, adding a CSSStyleSheet parameter to multiple parts of code. This change removes that and instead sets the default style after the definition has been built, in CustomElementRegistry::DefineInternal Bug: 824684 Change-Id: Ic544561830cced77e946ae43491e6ee989511117 Reviewed-on: https://chromium-review.googlesource.com/1256263Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Hayato Ito <hayato@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/master@{#595821}
Showing
Please register or sign in to comment