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 |