Index: Source/core/rendering/RenderCounter.cpp |
diff --git a/Source/core/rendering/RenderCounter.cpp b/Source/core/rendering/RenderCounter.cpp |
index ff1b355e39fb0f6f702761eab24f98c67149d355..34d77d9d7cafec3f1bb6b49e002fd951012926cf 100644 |
--- a/Source/core/rendering/RenderCounter.cpp |
+++ b/Source/core/rendering/RenderCounter.cpp |
@@ -355,10 +355,15 @@ RenderCounter::RenderCounter(Document* node, const CounterContent& counter) |
RenderCounter::~RenderCounter() |
{ |
+} |
+ |
+void RenderCounter::destroy() |
+{ |
if (m_counterNode) { |
m_counterNode->removeRenderer(this); |
ASSERT(!m_counterNode); |
} |
+ RenderText::destroy(); |
} |
void RenderCounter::willBeDestroyed() |