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

Unified Diff: third_party/WebKit/Source/core/html/track/TextTrackList.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/TextTrackList.cpp
diff --git a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
index c7ac3c10ff58da7f241ba9dd00a51a1019c07943..02dc1e260d9b9b56c429aa193642b1ef3a84075b 100644
--- a/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
+++ b/third_party/WebKit/Source/core/html/track/TextTrackList.cpp
@@ -134,7 +134,7 @@ TextTrack* TextTrackList::getTrackById(const AtomicString& id)
// to the value of the id argument.
for (unsigned i = 0; i < length(); ++i) {
TextTrack* track = anonymousIndexedGetter(i);
- if (track->id() == id)
+ if (String(track->id()) == id)
return track;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/track/AudioTrack.cpp ('k') | third_party/WebKit/Source/core/html/track/TrackBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698