diff options
Diffstat (limited to 'dom/base/CustomElementRegistry.h')
-rw-r--r-- | dom/base/CustomElementRegistry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/CustomElementRegistry.h b/dom/base/CustomElementRegistry.h index b85d089f9..b731a1858 100644 --- a/dom/base/CustomElementRegistry.h +++ b/dom/base/CustomElementRegistry.h @@ -357,7 +357,7 @@ public: * Upgrade an element. * https://html.spec.whatwg.org/multipage/scripting.html#upgrades */ - void Upgrade(Element* aElement, CustomElementDefinition* aDefinition, ErrorResult& aRv); + static void Upgrade(Element* aElement, CustomElementDefinition* aDefinition, ErrorResult& aRv); private: ~CustomElementRegistry(); |