Index: Source/core/html/HTMLViewSourceDocument.cpp |
diff --git a/Source/core/html/HTMLViewSourceDocument.cpp b/Source/core/html/HTMLViewSourceDocument.cpp |
index 72e62603522a6369a646d16dbf07104cafebd98d..9cfa17442ef383f8c91f78e34459689d539d6d0a 100644 |
--- a/Source/core/html/HTMLViewSourceDocument.cpp |
+++ b/Source/core/html/HTMLViewSourceDocument.cpp |
@@ -309,6 +309,16 @@ void HTMLViewSourceDocument::maybeAddSpanForAnnotation(SourceAnnotation annotati |
} |
} |
+#if !ENABLE(OILPAN) |
+void HTMLViewSourceDocument::dispose() |
+{ |
+ m_current.clear(); |
+ m_tbody.clear(); |
+ m_td.clear(); |
+ HTMLDocument::dispose(); |
+} |
+#endif |
+ |
DEFINE_TRACE(HTMLViewSourceDocument) |
{ |
visitor->trace(m_current); |