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

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

Issue 2050043002: Generate and assign media track ids in demuxers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-streamparser-trackid
Patch Set: rebase to ToT Created 4 years, 6 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/VideoTrackList.cpp
diff --git a/third_party/WebKit/Source/core/html/track/VideoTrackList.cpp b/third_party/WebKit/Source/core/html/track/VideoTrackList.cpp
index 7046cda6518ad4aab1909fd4b9ee31823e9f86ce..6f18d6e81a7499b5f34c9321a22b946c6a1b5eac 100644
--- a/third_party/WebKit/Source/core/html/track/VideoTrackList.cpp
+++ b/third_party/WebKit/Source/core/html/track/VideoTrackList.cpp
@@ -46,7 +46,7 @@ void VideoTrackList::trackSelected(WebMediaPlayer::TrackId selectedTrackId)
for (unsigned i = 0; i < length(); ++i) {
VideoTrack* track = anonymousIndexedGetter(i);
- if (track->trackId() != selectedTrackId)
+ if (track->id() != selectedTrackId)
track->clearSelected();
else
DCHECK(track->selected());

Powered by Google App Engine
This is Rietveld 408576698