Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: Source/core/html/track/TextTrackList.cpp

Issue 177003025: Remove TextTrackClient interface to simplify TextTrack code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« Source/core/html/track/LoadableTextTrack.h ('K') | « Source/core/html/track/TextTrackList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698