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

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

Issue 2685943004: Remove TextTrack.regions and VTTRegionList (Closed)
Patch Set: Rebase Created 3 years, 10 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/HTMLTrackElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp b/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
index ca2d9c6c793d9765d3e740e5ba8121e69cd24ae2..9e16321c818f4ca52a4d108d78cf1d51b3a47d17 100644
--- a/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTrackElement.cpp
@@ -287,16 +287,6 @@ void HTMLTrackElement::newCuesAvailable(TextTrackLoader* loader) {
m_track->addListOfCues(newCues);
}
-void HTMLTrackElement::newRegionsAvailable(TextTrackLoader* loader) {
- DCHECK_EQ(m_loader, loader);
- DCHECK(m_track);
-
- HeapVector<Member<VTTRegion>> newRegions;
- m_loader->getNewRegions(newRegions);
-
- m_track->addRegions(newRegions);
-}
-
void HTMLTrackElement::cueLoadingCompleted(TextTrackLoader* loader,
bool loadingFailed) {
DCHECK_EQ(m_loader, loader);

Powered by Google App Engine
This is Rietveld 408576698