| Index: Source/core/html/track/TextTrack.cpp
|
| diff --git a/Source/core/html/track/TextTrack.cpp b/Source/core/html/track/TextTrack.cpp
|
| index abaaf3c3c6c1cf55318dec47261c1b53326d6762..68279100102a21e91c03c2e97b46c01daca08355 100644
|
| --- a/Source/core/html/track/TextTrack.cpp
|
| +++ b/Source/core/html/track/TextTrack.cpp
|
| @@ -244,7 +244,7 @@ void TextTrack::addCue(PassRefPtr<TextTrackCue> prpCue)
|
| // list of cues.
|
| TextTrack* cueTrack = cue->track();
|
| if (cueTrack && cueTrack != this)
|
| - cueTrack->removeCue(cue.get(), ASSERT_NO_EXCEPTION_STATE);
|
| + cueTrack->removeCue(cue.get(), ASSERT_NO_EXCEPTION);
|
|
|
| // 2. Add cue to the method's TextTrack object's text track's text track list of cues.
|
| cue->setTrack(this);
|
| @@ -321,7 +321,7 @@ void TextTrack::addRegion(PassRefPtr<TextTrackRegion> prpRegion)
|
| // region from that text track list of regions.
|
| TextTrack* regionTrack = region->track();
|
| if (regionTrack && regionTrack != this)
|
| - regionTrack->removeRegion(region.get(), ASSERT_NO_EXCEPTION_STATE);
|
| + regionTrack->removeRegion(region.get(), ASSERT_NO_EXCEPTION);
|
|
|
| // 2. If the method's TextTrack object's text track list of regions contains
|
| // a region with the same identifier as region replace the values of that
|
|
|