| 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..41bf33ad8b5e6d18d8dff6b850819ef1ac9f2cfd 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);
|
| }
|
| @@ -73,9 +73,9 @@ bool VTTRegionList::remove(VTTRegion* region)
|
| return true;
|
| }
|
|
|
| -void VTTRegionList::clear()
|
| +void VTTRegionList::trace(Visitor* visitor)
|
| {
|
| - m_list.clear();
|
| + visitor->trace(m_list);
|
| }
|
|
|
| } // namespace WebCore
|
|
|