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

Unified Diff: Source/core/dom/Element.h

Issue 14834002: Set a bit on Custom Elements on creation to simplify wrapping (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 5b75fbdbaacf83723dc68de648fe40bbc7d1e374..af78b31e7f872bf1078b30dfb1feb585a0d652ac 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -423,6 +423,9 @@ public:
virtual const AtomicString& shadowPseudoId() const;
+ void setIsCustomElement();
+ bool isCustomElement() const;
+
RenderStyle* computedStyle(PseudoId = NOPSEUDO);
// Methods for indicating the style is affected by dynamic updates (e.g., children changing, our position changing in our sibling list, etc.)

Powered by Google App Engine
This is Rietveld 408576698