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

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: Add crbug.com/365260 crashing test + expectation 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
« no previous file with comments | « Source/core/html/track/vtt/VTTRegionList.h ('k') | Source/core/html/track/vtt/VTTRegionList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/track/vtt/VTTRegionList.h ('k') | Source/core/html/track/vtt/VTTRegionList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698