зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1733109 - narrowing conversion from 'double' to 'float' in HTMLMediaElement.cpp. r=alwu
Depends on D126945 Differential Revision: https://phabricator.services.mozilla.com/D126946
This commit is contained in:
Родитель
f3cd1e466b
Коммит
477acd5f27
|
@ -7155,7 +7155,7 @@ void HTMLMediaElement::SetDecoder(MediaDecoder* aDecoder) {
|
|||
float HTMLMediaElement::ComputedVolume() const {
|
||||
return mMuted ? 0.0f
|
||||
: mAudioChannelWrapper ? mAudioChannelWrapper->GetEffectiveVolume()
|
||||
: mVolume;
|
||||
: static_cast<float>(mVolume);
|
||||
}
|
||||
|
||||
bool HTMLMediaElement::ComputedMuted() const {
|
||||
|
|
Загрузка…
Ссылка в новой задаче