| Index: Source/core/dom/CustomElementRegistrationContext.cpp
|
| diff --git a/Source/core/dom/CustomElementRegistrationContext.cpp b/Source/core/dom/CustomElementRegistrationContext.cpp
|
| index bedaf5eb268aa79d296110db4a521910850cfd39..4cc4e68a86426c33c22e1e47b35d9762fca8f80a 100644
|
| --- a/Source/core/dom/CustomElementRegistrationContext.cpp
|
| +++ b/Source/core/dom/CustomElementRegistrationContext.cpp
|
| @@ -146,7 +146,7 @@ void CustomElementRegistrationContext::setTypeExtension(Element* element, const
|
|
|
| element->setCustomElementState(mode == CreatedByParser ? Element::WaitingForParser : Element::WaitingForUpgrade);
|
|
|
| - if (CustomElementRegistrationContext* context = element->document()->registrationContext())
|
| + if (CustomElementRegistrationContext* context = element->document().registrationContext())
|
| context->didGiveTypeExtension(element, type);
|
| }
|
|
|
|
|