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

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

Issue 1851743002: Simplify Supplementables post Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component build Created 4 years, 9 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
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 1c3684d23427119f7b38e5ca3f7a72d901d702f6..c1819813d7a1f816092a66a98be59547ad611c4a 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3610,7 +3610,6 @@ void HTMLMediaElement::defaultEventHandler(Event* event)
DEFINE_TRACE(HTMLMediaElement)
{
-#if ENABLE(OILPAN)
visitor->trace(m_playedTimeRanges);
visitor->trace(m_asyncEventQueue);
visitor->trace(m_error);
@@ -3627,8 +3626,7 @@ DEFINE_TRACE(HTMLMediaElement)
visitor->trace(m_autoplayHelperClient);
visitor->trace(m_autoplayHelper);
visitor->template registerWeakMembers<HTMLMediaElement, &HTMLMediaElement::clearWeakMembers>(this);
- HeapSupplementable<HTMLMediaElement>::trace(visitor);
-#endif
+ Supplementable<HTMLMediaElement>::trace(visitor);
HTMLElement::trace(visitor);
ActiveDOMObject::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698