Index: Source/core/html/track/LoadableTextTrack.cpp |
diff --git a/Source/core/html/track/LoadableTextTrack.cpp b/Source/core/html/track/LoadableTextTrack.cpp |
index 87c34f362b780176827d5e5a80b12cdc0d63d0b3..5c014fcbf85b9a04ffb7db3056037ed629b4e2b0 100644 |
--- a/Source/core/html/track/LoadableTextTrack.cpp |
+++ b/Source/core/html/track/LoadableTextTrack.cpp |
@@ -90,7 +90,7 @@ void LoadableTextTrack::loadTimerFired(Timer<LoadableTextTrack>*) |
// origin of the media element's Document, and the default origin behaviour set to fail. |
m_loader = TextTrackLoader::create(*this, m_trackElement->document()); |
if (!m_loader->load(m_url, m_trackElement->mediaElementCrossOriginAttribute())) |
- m_trackElement->didCompleteLoad(this, HTMLTrackElement::Failure); |
+ m_trackElement->didCompleteLoad(HTMLTrackElement::Failure); |
} |
void LoadableTextTrack::newCuesAvailable(TextTrackLoader* loader) |
@@ -124,7 +124,7 @@ void LoadableTextTrack::cueLoadingCompleted(TextTrackLoader* loader, bool loadin |
if (!m_trackElement) |
return; |
- m_trackElement->didCompleteLoad(this, loadingFailed ? HTMLTrackElement::Failure : HTMLTrackElement::Success); |
+ m_trackElement->didCompleteLoad(loadingFailed ? HTMLTrackElement::Failure : HTMLTrackElement::Success); |
} |
void LoadableTextTrack::newRegionsAvailable(TextTrackLoader* loader) |