Chromium Code Reviews| Index: Source/core/html/track/TextTrackCue.cpp |
| diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp |
| index ebf262f9b282d4d7db3b120dd822398f4e87a550..2a5f8b7638e6c75d6666828d94f7cbf621fac01a 100644 |
| --- a/Source/core/html/track/TextTrackCue.cpp |
| +++ b/Source/core/html/track/TextTrackCue.cpp |
| @@ -35,6 +35,7 @@ |
| #include "bindings/v8/ExceptionMessages.h" |
| #include "bindings/v8/ExceptionStatePlaceholder.h" |
| #include "core/events/Event.h" |
| +#include "core/html/HTMLMediaElement.h" |
|
acolwell GONE FROM CHROMIUM
2014/04/21 16:51:16
nit: Why do you need the HTMLMediaElement include?
sof
2014/04/21 18:35:01
No, redundant & removed; thanks (a leftover from a
|
| #include "core/html/track/TextTrack.h" |
| #include "core/html/track/TextTrackCueList.h" |
| @@ -83,6 +84,11 @@ void TextTrackCue::setTrack(TextTrack* track) |
| m_track = track; |
| } |
| +Node* TextTrackCue::owner() const |
| +{ |
| + return m_track ? m_track->owner() : 0; |
| +} |
| + |
| void TextTrackCue::setId(const AtomicString& id) |
| { |
| if (m_id == id) |