Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / RenderCounter.cpp
index ff1b355..34d77d9 100644 (file)
@@ -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()