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 e57717fef0be40072014ca746fcd95b692d725c2..5d8d104f82c61386a7ce71a24f6020dd1e20c105 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -73,8 +73,8 @@ |
#include "core/dom/StyleChangeReason.h" |
#include "core/dom/StyleEngine.h" |
#include "core/dom/Text.h" |
-#include "core/dom/custom/CustomElement.h" |
-#include "core/dom/custom/CustomElementRegistrationContext.h" |
+#include "core/dom/custom/V0CustomElement.h" |
+#include "core/dom/custom/V0CustomElementRegistrationContext.h" |
#include "core/dom/shadow/InsertionPoint.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/dom/shadow/ShadowRootInit.h" |
@@ -1192,7 +1192,7 @@ const QualifiedName& Element::subResourceAttributeName() const |
inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason reason) |
{ |
if (name == isAttr) |
- CustomElementRegistrationContext::setTypeExtension(this, newValue); |
+ V0CustomElementRegistrationContext::setTypeExtension(this, newValue); |
attributeChanged(name, nullAtom, newValue, reason); |
} |
@@ -1414,7 +1414,7 @@ Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio |
} |
if (isUpgradedCustomElement() && inShadowIncludingDocument()) |
- CustomElement::didAttach(this, document()); |
+ V0CustomElement::didAttach(this, document()); |
TreeScope& scope = insertionPoint->treeScope(); |
if (scope != treeScope()) |
@@ -1475,7 +1475,7 @@ void Element::removedFrom(ContainerNode* insertionPoint) |
document().accessSVGExtensions().removeElementFromPendingResources(this); |
if (isUpgradedCustomElement()) |
- CustomElement::didDetach(this, insertionPoint->document()); |
+ V0CustomElement::didDetach(this, insertionPoint->document()); |
if (needsStyleInvalidation()) |
document().styleEngine().styleInvalidator().clearInvalidation(*this); |
@@ -1874,7 +1874,7 @@ void Element::setNeedsCompositingUpdate() |
layoutObject->layer()->updateSelfPaintingLayer(); |
} |
-void Element::setCustomElementDefinition(CustomElementDefinition* definition) |
+void Element::setCustomElementDefinition(V0CustomElementDefinition* definition) |
{ |
if (!hasRareData() && !definition) |
return; |
@@ -1882,7 +1882,7 @@ void Element::setCustomElementDefinition(CustomElementDefinition* definition) |
ensureElementRareData().setCustomElementDefinition(definition); |
} |
-CustomElementDefinition* Element::customElementDefinition() const |
+V0CustomElementDefinition* Element::customElementDefinition() const |
{ |
if (hasRareData()) |
return elementRareData()->customElementDefinition(); |
@@ -3160,7 +3160,7 @@ void Element::willModifyAttribute(const QualifiedName& name, const AtomicString& |
if (oldValue != newValue) { |
document().styleEngine().attributeChangedForElement(name, *this); |
if (isUpgradedCustomElement()) |
- CustomElement::attributeDidChange(this, name.localName(), oldValue, newValue); |
+ V0CustomElement::attributeDidChange(this, name.localName(), oldValue, newValue); |
} |
if (MutationObserverInterestGroup* recipients = MutationObserverInterestGroup::createForAttributesMutation(*this, name)) |