Index: Source/core/html/track/vtt/VTTCue.h |
diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h |
index 539800500eaf007d3328a726d3cebd7daeb810a3..f61970838368ac15be6993c68704627b28ce648c 100644 |
--- a/Source/core/html/track/vtt/VTTCue.h |
+++ b/Source/core/html/track/vtt/VTTCue.h |
@@ -131,6 +131,8 @@ public: |
}; |
CueAlignment getAlignment() const { return m_cueAlignment; } |
+ virtual CueType cueType() const OVERRIDE { return WebVTT; } |
+ |
virtual ExecutionContext* executionContext() const OVERRIDE; |
#ifndef NDEBUG |
@@ -188,7 +190,7 @@ private: |
}; |
// VTTCue is currently the only TextTrackCue subclass. |
acolwell GONE FROM CHROMIUM
2014/04/04 23:25:27
nit: Please remove this comment now that it is no
|
-DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); |
+DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, cue->cueType() == TextTrackCue::WebVTT, cue.cueType() == TextTrackCue::WebVTT); |
} // namespace WebCore |