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

Unified Diff: third_party/WebKit/Source/core/html/track/LoadableTextTrack.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/track/LoadableTextTrack.cpp
diff --git a/third_party/WebKit/Source/core/html/track/LoadableTextTrack.cpp b/third_party/WebKit/Source/core/html/track/LoadableTextTrack.cpp
index 7d6c02ff6d92463e7d405a842fed072428068c10..023b17f684bb32476ca238b0b2a6864b3a6a54f5 100644
--- a/third_party/WebKit/Source/core/html/track/LoadableTextTrack.cpp
+++ b/third_party/WebKit/Source/core/html/track/LoadableTextTrack.cpp
@@ -27,7 +27,6 @@
#include "core/dom/ElementTraversal.h"
#include "core/html/HTMLTrackElement.h"
-#include "core/html/track/vtt/VTTRegionList.h"
namespace blink {
@@ -53,12 +52,6 @@ void LoadableTextTrack::setMode(const AtomicString& mode) {
m_trackElement->scheduleLoad();
}
-void LoadableTextTrack::addRegions(
- const HeapVector<Member<VTTRegion>>& newRegions) {
- for (const auto& region : newRegions)
- regions()->add(region);
-}
-
size_t LoadableTextTrack::trackElementIndex() const {
// Count the number of preceding <track> elements (== the index.)
size_t index = 0;

Powered by Google App Engine
This is Rietveld 408576698