| 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 dd159263ce6d3b242106753b202b7d0c10b61df6..1cd12b4f7edc68c8de7724c883f0b64ce438599b 100644
|
| --- a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
|
| @@ -112,7 +112,7 @@ int TextTrackList::getTrackIndexRelativeToRenderedTracks(TextTrack *textTrack)
|
| return -1;
|
| }
|
|
|
| -TextTrack* TextTrackList::item(unsigned index)
|
| +TextTrack* TextTrackList::anonymousIndexedGetter(unsigned index)
|
| {
|
| // 4.8.10.12.1 Text track model
|
| // The text tracks are sorted as follows:
|
| @@ -142,7 +142,7 @@ TextTrack* TextTrackList::getTrackById(const AtomicString& id)
|
| // TextTrackList object whose id IDL attribute would return a value equal
|
| // to the value of the id argument.
|
| for (unsigned i = 0; i < length(); ++i) {
|
| - TextTrack* track = item(i);
|
| + TextTrack* track = anonymousIndexedGetter(i);
|
| if (track->id() == id)
|
| return track;
|
| }
|
| @@ -316,7 +316,7 @@ void TextTrackList::scheduleRemoveTrackEvent(TextTrack* track)
|
| bool TextTrackList::hasShowingTracks()
|
| {
|
| for (unsigned i = 0; i < length(); ++i) {
|
| - if (item(i)->mode() == TextTrack::showingKeyword())
|
| + if (anonymousIndexedGetter(i)->mode() == TextTrack::showingKeyword())
|
| return true;
|
| }
|
| return false;
|
|
|