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

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

Issue 710733004: Remove resizing code from ElementRareData. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/ElementRareData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/ElementRareData.cpp
diff --git a/sky/engine/core/dom/ElementRareData.cpp b/sky/engine/core/dom/ElementRareData.cpp
index fc9d4200cc3a5c68cf2ee4a7d8ce46c9ef9ec128..bb6002762069bb46eaf3dfda2bf63f8bb3abd632 100644
--- a/sky/engine/core/dom/ElementRareData.cpp
+++ b/sky/engine/core/dom/ElementRareData.cpp
@@ -37,7 +37,6 @@ namespace blink {
struct SameSizeAsElementRareData : NodeRareData {
short index;
- LayoutSize sizeForResizing;
IntSize scrollOffset;
void* pointers[7];
};
@@ -49,16 +48,6 @@ CSSStyleDeclaration& ElementRareData::ensureInlineCSSStyleDeclaration(Element* o
return *m_cssomWrapper;
}
-void ElementRareData::traceAfterDispatch(Visitor* visitor)
-{
- visitor->trace(m_classList);
- visitor->trace(m_shadow);
- visitor->trace(m_inputMethodContext);
- visitor->trace(m_activeAnimations);
- visitor->trace(m_cssomWrapper);
- NodeRareData::traceAfterDispatch(visitor);
-}
-
COMPILE_ASSERT(sizeof(ElementRareData) == sizeof(SameSizeAsElementRareData), ElementRareDataShouldStaySmall);
} // namespace blink
« no previous file with comments | « sky/engine/core/dom/ElementRareData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698