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

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

Issue 587393002: Oilpan: make Supplementable tracing more regular. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve dummy trace() comment Created 6 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/frame/Screen.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index b0c66c595aee4c68773af6c5ec4e52d032aa7635..284cd74cd83a1abeb9a21c0054d4d5dea787ca9c 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -3999,6 +3999,7 @@ void HTMLMediaElement::defaultEventHandler(Event* event)
void HTMLMediaElement::trace(Visitor* visitor)
{
+#if ENABLE(OILPAN)
visitor->trace(m_playedTimeRanges);
visitor->trace(m_asyncEventQueue);
visitor->trace(m_error);
@@ -4013,7 +4014,8 @@ void HTMLMediaElement::trace(Visitor* visitor)
#if ENABLE(WEB_AUDIO)
visitor->registerWeakMembers<HTMLMediaElement, &HTMLMediaElement::clearWeakMembers>(this);
#endif
- WillBeHeapSupplementable<HTMLMediaElement>::trace(visitor);
+ HeapSupplementable<HTMLMediaElement>::trace(visitor);
+#endif
HTMLElement::trace(visitor);
}
« no previous file with comments | « Source/core/frame/Screen.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698