Index: Source/core/html/track/TextTrack.cpp |
diff --git a/Source/core/html/track/TextTrack.cpp b/Source/core/html/track/TextTrack.cpp |
index 5789476a8f848fd66ba5818692bb11e87bcb4c15..b12cce7ea8423da2b6452b636cc9ee076bf07997 100644 |
--- a/Source/core/html/track/TextTrack.cpp |
+++ b/Source/core/html/track/TextTrack.cpp |
@@ -428,7 +428,12 @@ ExecutionContext* TextTrack::executionContext() const |
return m_document; |
} |
-HTMLMediaElement* TextTrack::mediaElement() |
+HTMLMediaElement* TextTrack::mediaElement() const |
+{ |
+ return m_trackList ? m_trackList->owner() : 0; |
+} |
+ |
+Node* TextTrack::owner() const |
{ |
return m_trackList ? m_trackList->owner() : 0; |
acolwell GONE FROM CHROMIUM
2014/04/21 16:51:16
nit: Any reason not to just forward to mediaElemen
sof
2014/04/21 18:35:01
None at all, done. Ideally [SetWrapperReferenceFro
|
} |