| Index: Source/core/html/track/TextTrackCue.cpp
|
| diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp
|
| index b3263fd0d4123e90cc1e4879c5585e5198942b0d..2469c8a342a3b306f6dbb8ab82f83d6c15cb27c7 100644
|
| --- a/Source/core/html/track/TextTrackCue.cpp
|
| +++ b/Source/core/html/track/TextTrackCue.cpp
|
| @@ -479,11 +479,8 @@ void TextTrackCue::setText(const String& text)
|
|
|
| int TextTrackCue::cueIndex()
|
| {
|
| - if (m_cueIndex == invalidCueIndex) {
|
| - TextTrackCueList* cues = track()->cues();
|
| - if (cues)
|
| - m_cueIndex = cues->getCueIndex(this);
|
| - }
|
| + if (m_cueIndex == invalidCueIndex)
|
| + m_cueIndex = track()->cues()->getCueIndex(this);
|
|
|
| return m_cueIndex;
|
| }
|
| @@ -1191,4 +1188,3 @@ bool TextTrackCue::operator==(const TextTrackCue& cue) const
|
| }
|
|
|
| } // namespace WebCore
|
| -
|
|
|