Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index 9164199348bc7951c216e0f9adcb3ccc1a858b01..4f6b07ad97fd8db5208d98dfae9df53beb5e6d10 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -32,6 +32,7 @@ |
#include "core/html/MediaControllerInterface.h" |
#include "core/html/track/TextTrack.h" |
#include "core/html/track/TextTrackCue.h" |
+#include "core/html/track/vtt/VTTCue.h" |
#include "platform/PODIntervalTree.h" |
#include "platform/graphics/media/MediaPlayer.h" |
#include "public/platform/WebMimeRegistry.h" |
@@ -581,7 +582,7 @@ template <> |
struct ValueToString<TextTrackCue*> { |
static String string(TextTrackCue* const& cue) |
{ |
- return String::format("%p id=%s interval=%f-->%f cue=%s)", cue, cue->id().utf8().data(), cue->startTime(), cue->endTime(), cue->text().utf8().data()); |
+ return cue->toString(); |
} |
}; |
#endif |