Index: Source/core/dom/ElementRareData.h |
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h |
index 629c8bb69aa5ec1e9cf4ec5ab143532fb88f5583..38d9107e85fefb41a2ecf00ea75f4bf2a8608788 100644 |
--- a/Source/core/dom/ElementRareData.h |
+++ b/Source/core/dom/ElementRareData.h |
@@ -27,6 +27,7 @@ |
#include "core/dom/NamedNodeMap.h" |
#include "core/dom/NodeRareData.h" |
#include "core/dom/PseudoElement.h" |
+#include "core/dom/custom/CustomElementDefinition.h" |
#include "core/dom/shadow/ElementShadow.h" |
#include "core/html/ClassList.h" |
#include "core/html/ime/InputMethodContext.h" |
@@ -123,6 +124,9 @@ public: |
bool hasPseudoElements() const; |
void clearPseudoElements(); |
+ void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definition) { m_customElementDefinition = definition; } |
+ CustomElementDefinition* customElementDefinition() const { return m_customElementDefinition.get(); } |
+ |
private: |
short m_tabindex; |
unsigned short m_childIndex; |
@@ -130,7 +134,6 @@ private: |
LayoutSize m_minimumSizeForResizing; |
IntSize m_savedLayerScrollOffset; |
- RefPtr<RenderStyle> m_computedStyle; |
OwnPtr<DatasetDOMStringMap> m_dataset; |
OwnPtr<ClassList> m_classList; |
@@ -140,6 +143,9 @@ private: |
OwnPtr<ActiveAnimations> m_activeAnimations; |
OwnPtr<InlineCSSStyleDeclaration> m_cssomWrapper; |
+ RefPtr<RenderStyle> m_computedStyle; |
+ RefPtr<CustomElementDefinition> m_customElementDefinition; |
+ |
RefPtr<PseudoElement> m_generatedBefore; |
RefPtr<PseudoElement> m_generatedAfter; |
RefPtr<PseudoElement> m_backdrop; |