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

Unified Diff: third_party/WebKit/Source/core/html/track/VideoTrack.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/VideoTrack.cpp
diff --git a/third_party/WebKit/Source/core/html/track/VideoTrack.cpp b/third_party/WebKit/Source/core/html/track/VideoTrack.cpp
index 9903e3a20d06cbdd29c58f52c59dc524ce59c112..a63a76207c624a7204689930266e03094424b435 100644
--- a/third_party/WebKit/Source/core/html/track/VideoTrack.cpp
+++ b/third_party/WebKit/Source/core/html/track/VideoTrack.cpp
@@ -31,7 +31,7 @@ void VideoTrack::setSelected(bool selected)
m_selected = selected;
if (mediaElement()) {
- WebMediaPlayer::TrackId selectedTrackId = trackId();
+ WebMediaPlayer::TrackId selectedTrackId = id();
mediaElement()->selectedVideoTrackChanged(selected ? &selectedTrackId : 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698