Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 1982003002: Rename v0 custom element flags to V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698