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

Unified Diff: Source/core/html/HTMLViewSourceDocument.cpp

Issue 1360723003: Non-Oilpan Memory: Fix HTMLViewSourceDocument and WebLeakDetector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months 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/html/HTMLViewSourceDocument.h ('k') | Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/html/HTMLViewSourceDocument.h ('k') | Source/web/WebLeakDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698