Index: Source/core/html/track/TextTrackList.cpp |
diff --git a/Source/core/html/track/TextTrackList.cpp b/Source/core/html/track/TextTrackList.cpp |
index a1733105d3606cc171c1290dafff3ed21064d7ab..5a7af5ce2e3b36e1d8265176ef31360568db1251 100644 |
--- a/Source/core/html/track/TextTrackList.cpp |
+++ b/Source/core/html/track/TextTrackList.cpp |
@@ -181,7 +181,7 @@ void TextTrackList::append(PassRefPtr<TextTrack> prpTrack) |
invalidateTrackIndexesAfterTrack(track.get()); |
ASSERT(!track->mediaElement() || track->mediaElement() == m_owner); |
- track->setMediaElement(Handle<HTMLMediaElement>(m_owner)); |
+ track->setMediaElement(adoptRawResult(m_owner)); |
scheduleAddTrackEvent(track.release()); |
} |