| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 15c15451b2df73ca1b29a9169639cffaaf911047..ecadbe8b212c977d77e4018e1ca0e9e5c3df01c4 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1421,7 +1421,7 @@ Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio
|
| rareData->intersectionObserverData()->activateValidIntersectionObservers(*this);
|
| }
|
|
|
| - if (isUpgradedCustomElement() && inShadowIncludingDocument())
|
| + if (isUpgradedV0CustomElement() && inShadowIncludingDocument())
|
| V0CustomElement::didAttach(this, document());
|
|
|
| TreeScope& scope = insertionPoint->treeScope();
|
| @@ -1482,7 +1482,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
|
| if (hasPendingResources())
|
| document().accessSVGExtensions().removeElementFromPendingResources(this);
|
|
|
| - if (isUpgradedCustomElement())
|
| + if (isUpgradedV0CustomElement())
|
| V0CustomElement::didDetach(this, insertionPoint->document());
|
|
|
| if (needsStyleInvalidation())
|
| @@ -1931,7 +1931,7 @@ ShadowRoot* Element::attachShadow(const ScriptState* scriptState, const ShadowRo
|
| OriginsUsingFeatures::countMainWorldOnly(scriptState, document(), OriginsUsingFeatures::Feature::ElementAttachShadow);
|
|
|
| const AtomicString& tagName = localName();
|
| - bool tagNameIsSupported = isCustomElement()
|
| + bool tagNameIsSupported = isV0CustomElement()
|
| || tagName == HTMLNames::articleTag
|
| || tagName == HTMLNames::asideTag
|
| || tagName == HTMLNames::blockquoteTag
|
| @@ -3179,7 +3179,7 @@ void Element::willModifyAttribute(const QualifiedName& name, const AtomicString&
|
|
|
| if (oldValue != newValue) {
|
| document().styleEngine().attributeChangedForElement(name, *this);
|
| - if (isUpgradedCustomElement())
|
| + if (isUpgradedV0CustomElement())
|
| V0CustomElement::attributeDidChange(this, name.localName(), oldValue, newValue);
|
| }
|
|
|
|
|