Changeset 151845 in webkit
- Timestamp:
- Jun 21, 2013 11:08:06 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151844 r151845 1 2013-06-21 Ruth Fong <ruth_fong@apple.com> 2 3 Fix TextTrackCue::cueIndex() to handle the null case of TextTrack::cues(() properly 4 https://bugs.webkit.org/show_bug.cgi?id=117815 5 <rdar://problem/14211041> 6 7 Reviewed by Ryosuke Niwa. 8 9 This patch adds assert statements to try to catch when 10 track()->cues() returns a null pointer. 11 12 * html/track/TextTrackCue.cpp: 13 (WebCore::TextTrackCue::cueIndex): 14 1 15 2013-06-21 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Source/WebCore/html/track/TextTrackCue.cpp
r151754 r151845 484 484 int TextTrackCue::cueIndex() 485 485 { 486 if (m_cueIndex == invalidCueIndex) 486 if (m_cueIndex == invalidCueIndex) { 487 ASSERT(track()); 488 ASSERT(track()->cues()); 487 489 m_cueIndex = track()->cues()->getCueIndex(this); 490 } 488 491 489 492 return m_cueIndex;
Note: See TracChangeset
for help on using the changeset viewer.