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

Unified Diff: third_party/WebKit/Source/core/loader/TextTrackLoader.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/loader/TextTrackLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp b/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp
index b7b19d3309e888ffd70059e5b75f7d2f9b859b6f..d20635fb4385ebd340bfcd9bb0ae8e76755ed4c2 100644
--- a/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/TextTrackLoader.cpp
@@ -151,10 +151,6 @@ void TextTrackLoader::newCuesParsed() {
m_cueLoadTimer.startOneShot(0, BLINK_FROM_HERE);
}
-void TextTrackLoader::newRegionsParsed() {
- m_client->newRegionsAvailable(this);
-}
-
void TextTrackLoader::fileFailedToParse() {
m_state = Failed;
@@ -170,13 +166,6 @@ void TextTrackLoader::getNewCues(HeapVector<Member<TextTrackCue>>& outputCues) {
m_cueParser->getNewCues(outputCues);
}
-void TextTrackLoader::getNewRegions(
- HeapVector<Member<VTTRegion>>& outputRegions) {
- DCHECK(m_cueParser);
- if (m_cueParser)
- m_cueParser->getNewRegions(outputRegions);
-}
-
DEFINE_TRACE(TextTrackLoader) {
visitor->trace(m_client);
visitor->trace(m_cueParser);

Powered by Google App Engine
This is Rietveld 408576698