Bug 1377370. P2 - simplify HLSDecoder::Clone() for HLSResource doesn't support clone at all. r=kikuo

MozReview-Commit-ID: FxebHdK4EmM

--HG--
extra : rebase_source : d1074b8e5edf646244922a734839c19f8a4fb1b4
extra : source : 418066ce151ef0e5dc4b817f8663c281fc5fcc0d
This commit is contained in:
JW Wang 2017-06-30 10:20:32 +08:00
Родитель 7d2785b4a8
Коммит b02249e698
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -39,10 +39,8 @@ HLSDecoder::CreateStateMachine()
ChannelMediaDecoder*
HLSDecoder::Clone(MediaDecoderInit& aInit)
{
if (!IsEnabled()) {
return nullptr;
}
return new HLSDecoder(aInit);
MOZ_CRASH("Clone is not supported");
return nullptr;
}
bool