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

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

Issue 244493002: Oilpan: add transition types to track interface objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add crbug.com/365260 crashing test + expectation Created 6 years, 8 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/HTMLTrackElement.h ('k') | Source/core/html/track/InbandTextTrack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTrackElement.cpp
diff --git a/Source/core/html/HTMLTrackElement.cpp b/Source/core/html/HTMLTrackElement.cpp
index 7dfe53d4a82b68a0450f2c6d1616ec327a1e643d..2c3bb94eae08142d1b5addb7333304a1d853f896 100644
--- a/Source/core/html/HTMLTrackElement.cpp
+++ b/Source/core/html/HTMLTrackElement.cpp
@@ -60,8 +60,10 @@ inline HTMLTrackElement::HTMLTrackElement(Document& document)
HTMLTrackElement::~HTMLTrackElement()
{
+#if !ENABLE(OILPAN)
if (m_track)
m_track->clearTrackElement();
+#endif
}
PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(Document& document)
@@ -272,4 +274,10 @@ HTMLMediaElement* HTMLTrackElement::mediaElement() const
return 0;
}
+void HTMLTrackElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_track);
+ HTMLElement::trace(visitor);
+}
+
}
« no previous file with comments | « Source/core/html/HTMLTrackElement.h ('k') | Source/core/html/track/InbandTextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698