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

Unified Diff: sky/engine/core/dom/ElementRareData.h

Issue 880593003: Move the CustomElementDefinition from ElementRareData to Element. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix compile assert Created 5 years, 11 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/Element.cpp ('k') | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/ElementRareData.h
diff --git a/sky/engine/core/dom/ElementRareData.h b/sky/engine/core/dom/ElementRareData.h
index fd1661e4d39de879863d14f541997a635c0e9c19..29179ab2cf497d721fb57d26be9a13c0849674e5 100644
--- a/sky/engine/core/dom/ElementRareData.h
+++ b/sky/engine/core/dom/ElementRareData.h
@@ -25,7 +25,6 @@
#include "sky/engine/core/animation/ActiveAnimations.h"
#include "sky/engine/core/dom/DOMTokenList.h"
#include "sky/engine/core/dom/NodeRareData.h"
-#include "sky/engine/core/dom/custom/CustomElementDefinition.h"
#include "sky/engine/core/dom/shadow/ElementShadow.h"
#include "sky/engine/core/rendering/style/StyleInheritedData.h"
#include "sky/engine/wtf/OwnPtr.h"
@@ -84,9 +83,6 @@ public:
m_activeAnimations = activeAnimations;
}
- void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definition) { m_customElementDefinition = definition; }
- CustomElementDefinition* customElementDefinition() const { return m_customElementDefinition.get(); }
-
private:
short m_tabindex;
@@ -98,7 +94,6 @@ private:
OwnPtr<InlineCSSStyleDeclaration> m_cssomWrapper;
RefPtr<RenderStyle> m_computedStyle;
- RefPtr<CustomElementDefinition> m_customElementDefinition;
explicit ElementRareData(RenderObject*);
};
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698