diff options
Diffstat (limited to 'dom/base/CustomElementRegistry.h')
-rw-r--r-- | dom/base/CustomElementRegistry.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dom/base/CustomElementRegistry.h b/dom/base/CustomElementRegistry.h index b3b4d7c0f..8fdf28289 100644 --- a/dom/base/CustomElementRegistry.h +++ b/dom/base/CustomElementRegistry.h @@ -178,11 +178,13 @@ public: public: static bool IsCustomElementEnabled(JSContext* aCx = nullptr, JSObject* aObject = nullptr); - static already_AddRefed<CustomElementRegistry> Create(nsPIDOMWindowInner* aWindow); + static void ProcessTopElementQueue(); static void XPCOMShutdown(); + explicit CustomElementRegistry(nsPIDOMWindowInner* aWindow); + /** * Looking up a custom element definition. * https://html.spec.whatwg.org/#look-up-a-custom-element-definition @@ -227,11 +229,8 @@ public: void PopAndInvokeElementQueue(); private: - explicit CustomElementRegistry(nsPIDOMWindowInner* aWindow); ~CustomElementRegistry(); - bool Init(); - /** * Registers an unresolved custom element that is a candidate for * upgrade when the definition is registered via registerElement. |