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

Unified Diff: Source/core/html/track/vtt/VTTRegionList.cpp

Issue 244493002: Oilpan: add transition types to track interface objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Explicitly dispose of TextTrackList + fix handling of {Inband,Loadable}TextTrack 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
Index: Source/core/html/track/vtt/VTTRegionList.cpp
diff --git a/Source/core/html/track/vtt/VTTRegionList.cpp b/Source/core/html/track/vtt/VTTRegionList.cpp
index 914da521ae720f8cddf272e7e9dc9c11417815c3..ca475d9a8ca2c62b8b7293e599ce7b3fa754ddb4 100644
--- a/Source/core/html/track/vtt/VTTRegionList.cpp
+++ b/Source/core/html/track/vtt/VTTRegionList.cpp
@@ -58,7 +58,7 @@ VTTRegion* VTTRegionList::getRegionById(const String& id) const
return 0;
}
-void VTTRegionList::add(PassRefPtr<VTTRegion> region)
+void VTTRegionList::add(PassRefPtrWillBeRawPtr<VTTRegion> region)
{
m_list.append(region);
}
@@ -78,4 +78,9 @@ void VTTRegionList::clear()
m_list.clear();
}
+void VTTRegionList::trace(Visitor* visitor)
+{
+ visitor->trace(m_list);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698