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

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

Issue 672953002: Convert first letter into a pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « Source/core/dom/ElementRareData.h ('k') | Source/core/dom/FirstLetterPseudoElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ElementRareData.cpp
diff --git a/Source/core/dom/ElementRareData.cpp b/Source/core/dom/ElementRareData.cpp
index cee844d6fa80131b208c516e4932db9ec35bae04..1a4bba1e75f34c2e4c242901fcce77651079bea2 100644
--- a/Source/core/dom/ElementRareData.cpp
+++ b/Source/core/dom/ElementRareData.cpp
@@ -39,7 +39,7 @@ struct SameSizeAsElementRareData : NodeRareData {
short indices[2];
LayoutSize sizeForResizing;
IntSize scrollOffset;
- void* pointers[13];
+ void* pointers[14];
};
CSSStyleDeclaration& ElementRareData::ensureInlineCSSStyleDeclaration(Element* ownerElement)
@@ -70,6 +70,7 @@ void ElementRareData::traceAfterDispatch(Visitor* visitor)
visitor->trace(m_cssomWrapper);
visitor->trace(m_generatedBefore);
visitor->trace(m_generatedAfter);
+ visitor->trace(m_generatedFirstLetter);
visitor->trace(m_backdrop);
NodeRareData::traceAfterDispatch(visitor);
}
« no previous file with comments | « Source/core/dom/ElementRareData.h ('k') | Source/core/dom/FirstLetterPseudoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698