Index: Source/core/dom/FirstLetterPseudoElement.cpp |
diff --git a/Source/core/dom/FirstLetterPseudoElement.cpp b/Source/core/dom/FirstLetterPseudoElement.cpp |
index 89c59440f4a6ac63f337f5504f81f683fca34fd9..8fb97d243e083323ac26bad887097a2a073a84b6 100644 |
--- a/Source/core/dom/FirstLetterPseudoElement.cpp |
+++ b/Source/core/dom/FirstLetterPseudoElement.cpp |
@@ -156,11 +156,6 @@ RenderObject* FirstLetterPseudoElement::firstLetterTextRenderer(const Element& e |
return firstLetterTextRenderer; |
} |
-PassRefPtrWillBeRawPtr<FirstLetterPseudoElement> FirstLetterPseudoElement::create(Element* parent) |
-{ |
- return adoptRefWillBeNoop(new FirstLetterPseudoElement(parent)); |
-} |
- |
FirstLetterPseudoElement::FirstLetterPseudoElement(Element* parent) |
: PseudoElement(parent, FIRST_LETTER) |
, m_remainingTextRenderer(nullptr) |
@@ -168,6 +163,16 @@ FirstLetterPseudoElement::FirstLetterPseudoElement(Element* parent) |
{ |
} |
+FirstLetterPseudoElement::~FirstLetterPseudoElement() |
+{ |
+} |
+ |
+void FirstLetterPseudoElement::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_remainingTextRenderer); |
+ PseudoElement::trace(visitor); |
+} |
+ |
void FirstLetterPseudoElement::setNeedsUpdate() |
{ |
m_needsUpdate = true; |