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

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

Issue 69993003: Split VTTCue from TextTrackCue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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 f507a30ce3baa6242cec396b9855f356b318e6f8..70de9da9e05aa5d9c70bf36b5a5de615dfd3cc00 100644
--- a/Source/core/html/track/InbandTextTrack.cpp
+++ b/Source/core/html/track/InbandTextTrack.cpp
@@ -27,7 +27,7 @@
#include "core/html/track/InbandTextTrack.h"
#include "bindings/v8/ExceptionStatePlaceholder.h"
-#include "core/html/track/TextTrackCue.h"
+#include "core/html/track/VTTCue.h"
#include "platform/Logging.h"
#include "public/platform/WebInbandTextTrack.h"
#include "public/platform/WebString.h"
@@ -95,7 +95,7 @@ void InbandTextTrack::trackRemoved()
void InbandTextTrack::addWebVTTCue(double start, double end, const WebString& id, const WebString& content, const WebString& settings)
{
- RefPtr<TextTrackCue> cue = TextTrackCue::create(document(), start, end, content);
+ RefPtr<VTTCue> cue = VTTCue::create(document(), start, end, content);
cue->setId(id);
cue->setCueSettings(settings);

Powered by Google App Engine
This is Rietveld 408576698