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

Unified Diff: third_party/WebKit/Source/core/html/track/AudioTrack.cpp

Issue 2263823002: Deliver change notifications to SourceBuffer track lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call VideoTrackList::trackSelected also the SourceBuffer track list Created 4 years, 4 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: third_party/WebKit/Source/core/html/track/AudioTrack.cpp
diff --git a/third_party/WebKit/Source/core/html/track/AudioTrack.cpp b/third_party/WebKit/Source/core/html/track/AudioTrack.cpp
index ef818f1c963551e1d91b336edfde4b907bedd60d..8170d85c6a7f6bda63e3439e45db6b44490cceeb 100644
--- a/third_party/WebKit/Source/core/html/track/AudioTrack.cpp
+++ b/third_party/WebKit/Source/core/html/track/AudioTrack.cpp
@@ -31,7 +31,7 @@ void AudioTrack::setEnabled(bool enabled)
m_enabled = enabled;
if (mediaElement())
- mediaElement()->audioTrackChanged(id(), enabled);
+ mediaElement()->audioTrackChanged(this);
}
const AtomicString& AudioTrack::alternativeKeyword()
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaSource.h ('k') | third_party/WebKit/Source/core/html/track/TrackListBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698