Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: Source/core/html/track/InbandTextTrack.cpp

Issue 224833002: Implement DataCue interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/track/InbandTextTrack.cpp
diff --git a/Source/core/html/track/InbandTextTrack.cpp b/Source/core/html/track/InbandTextTrack.cpp
index 1d5cbe37213f0f0a9376ec1d22de0e71bab7f858..0df74d9a352396aae63a52c4edfde56379e5c55c 100644
--- a/Source/core/html/track/InbandTextTrack.cpp
+++ b/Source/core/html/track/InbandTextTrack.cpp
@@ -100,7 +100,7 @@ void InbandTextTrack::addWebVTTCue(double start, double end, const WebString& id
RefPtr<VTTCue> cue = VTTCue::create(document(), start, end, content);
cue->setId(id);
cue->parseSettings(settings);
- addCue(cue);
+ addCue(cue, ASSERT_NO_EXCEPTION);
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698