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

Unified Diff: sky/engine/core/dom/Element.cpp

Issue 946083003: Rename Sky's custom2 to custom (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/dom/DocumentInit.cpp ('k') | sky/engine/core/dom/custom/custom_element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.cpp
diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
index 080b1d31b56f97db28b0e4e43644d605f4d74d06..1918bbbe4bcc694fb67d5151679665be556fbad0 100644
--- a/sky/engine/core/dom/Element.cpp
+++ b/sky/engine/core/dom/Element.cpp
@@ -56,7 +56,7 @@
#include "sky/engine/core/dom/SelectorQuery.h"
#include "sky/engine/core/dom/StyleEngine.h"
#include "sky/engine/core/dom/Text.h"
-#include "sky/engine/core/dom/custom2/new_custom_element.h"
+#include "sky/engine/core/dom/custom/custom_element.h"
#include "sky/engine/core/dom/shadow/InsertionPoint.h"
#include "sky/engine/core/dom/shadow/ShadowRoot.h"
#include "sky/engine/core/editing/FrameSelection.h"
@@ -647,7 +647,7 @@ void Element::insertedInto(ContainerNode* insertionPoint)
return;
if (isUpgradedCustomElement() && inDocument())
- NewCustomElement::DidAttach(this, document());
+ CustomElement::DidAttach(this, document());
TreeScope& scope = insertionPoint->treeScope();
if (scope != treeScope())
@@ -671,7 +671,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
ContainerNode::removedFrom(insertionPoint);
if (wasInDocument) {
if (isUpgradedCustomElement())
- NewCustomElement::DidDetach(this, insertionPoint->document());
+ CustomElement::DidDetach(this, insertionPoint->document());
}
}
@@ -1298,7 +1298,7 @@ void Element::willModifyAttribute(const QualifiedName& name, const AtomicString&
setNeedsStyleRecalc(LocalStyleChange);
if (isUpgradedCustomElement())
- NewCustomElement::AttributeDidChange(this, name.localName(), oldValue, newValue);
+ CustomElement::AttributeDidChange(this, name.localName(), oldValue, newValue);
if (OwnPtr<MutationObserverInterestGroup> recipients = MutationObserverInterestGroup::createForAttributesMutation(*this, name))
recipients->enqueueMutationRecord(MutationRecord::createAttributes(this, name, oldValue));
« no previous file with comments | « sky/engine/core/dom/DocumentInit.cpp ('k') | sky/engine/core/dom/custom/custom_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698