Allow a text track menu implemented by the platform media player to have "Off" and "Auto" menu items.
Created attachment 205203 [details] Proposed patch
Comment on attachment 205203 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=205203&action=review > Source/WebCore/platform/graphics/PlatformTextTrack.h:66 > - static PassRefPtr<PlatformTextTrack> create(PlatformTextTrackClient* client, const String& label, const String& language, TrackKind kind, TrackType type) > + static PassRefPtr<PlatformTextTrack> create(PlatformTextTrackClient* client, const String& label, const String& language, TrackKind kind, TrackType type, int uniqueId) > { > - return adoptRef(new PlatformTextTrack(client, label, language, kind, type)); > + return adoptRef(new PlatformTextTrack(client, label, language, kind, type, uniqueId)); > } This will break the call point in TextTrack.cpp - TextTrack::platformTextTrack(), which does not pass in a uniqueId. Please update that call before you land.
https://trac.webkit.org/r151853