Index: third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
diff --git a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
index 3528c42ea0b79e26f6ce1293c782c40c213ef8f1..2e8dd15d1b416e72bc548132ced9f36755e3c527 100644 |
--- a/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
+++ b/third_party/WebKit/Source/core/html/track/AutomaticTrackSelection.cpp |
@@ -168,7 +168,7 @@ void AutomaticTrackSelection::perform(TextTrackList& textTracks) |
TrackGroup metadataTracks(TrackGroup::Metadata); |
for (size_t i = 0; i < textTracks.length(); ++i) { |
- TextTrack* textTrack = textTracks.item(i); |
+ TextTrack* textTrack = textTracks.anonymousIndexedGetter(i); |
if (!textTrack) |
continue; |