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

Unified Diff: Source/core/dom/Node.cpp

Issue 18258003: Pow __proto__, sock :unresolved, and clunk the created callback at once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« Source/core/dom/Node.h ('K') | « Source/core/dom/Node.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 6814c96b974c7e534a18b5ae7e3611e8e49e6477..e84d252b1b40fcfbe75f55c588dfb102354faa37 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -2720,6 +2720,13 @@ void Node::setIsCustomElement()
setFlag(IsCustomElement);
}
+void Node::setIsUpgradedCustomElement()
+{
+ ASSERT(isCustomElement());
+ setFlag(IsUpgradedCustomElement);
+ setNeedsStyleRecalc(); // :unresolved has changed
+}
+
} // namespace WebCore
#ifndef NDEBUG
« Source/core/dom/Node.h ('K') | « Source/core/dom/Node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698