Index: Source/core/html/track/TextTrackList.cpp |
diff --git a/Source/core/html/track/TextTrackList.cpp b/Source/core/html/track/TextTrackList.cpp |
index 375b14a2858b70bcc09df2e5f84854934b86a229..96c3f50de76547ea991d654051f45d6e5fe96e5b 100644 |
--- a/Source/core/html/track/TextTrackList.cpp |
+++ b/Source/core/html/track/TextTrackList.cpp |
@@ -262,12 +262,12 @@ ExecutionContext* TextTrackList::executionContext() const |
return m_owner->executionContext(); |
} |
-void TextTrackList::clearOwnerAndClients() |
+void TextTrackList::clearOwner() |
{ |
m_owner = 0; |
for (unsigned i = 0; i < length(); ++i) |
- item(i)->clearClient(); |
+ item(i)->setTrackList(0); |
} |
void TextTrackList::scheduleTrackEvent(const AtomicString& eventName, PassRefPtr<TextTrack> track) |