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

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

Issue 38943008: Explore the possibility of implementing the CSS Region interface. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Prototype v2 Created 7 years, 2 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
Index: Source/core/dom/PseudoElement.cpp
diff --git a/Source/core/dom/PseudoElement.cpp b/Source/core/dom/PseudoElement.cpp
index f54a507acda462f6f65213cff6921ddd9088bf53..de4c20747b70ba46e226a240f39fada0cc324450 100644
--- a/Source/core/dom/PseudoElement.cpp
+++ b/Source/core/dom/PseudoElement.cpp
@@ -57,6 +57,8 @@ PseudoElement::PseudoElement(Element* parent, PseudoId pseudoId)
: Element(pseudoElementTagName(), &parent->document(), CreatePseudoElement)
, m_pseudoId(pseudoId)
{
+ ScriptWrappable::init(this);
+
ASSERT(pseudoId != NOPSEUDO);
setParentOrShadowHostNode(parent);
setHasCustomStyleCallbacks();

Powered by Google App Engine
This is Rietveld 408576698