Index: third_party/WebKit/Source/core/html/track/TextTrackList.cpp |
diff --git a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp |
index 02dc1e260d9b9b56c429aa193642b1ef3a84075b..52eb5522dc5eae210b09e866bf796fc9fa28d821 100644 |
--- a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp |
+++ b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp |
@@ -167,7 +167,7 @@ void TextTrackList::invalidateTrackIndexesAfterTrack(TextTrack* track) |
return; |
for (size_t i = index; i < tracks->size(); ++i) |
- tracks->at(index)->invalidateTrackIndex(); |
+ tracks->at(i)->invalidateTrackIndex(); |
} |
void TextTrackList::append(TextTrack* track) |