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; |