Bug 1652950 - Unprefix mozPreservesPitch, update corresponding tests r=emilio,saschanaz

Differential Revision: https://phabricator.services.mozilla.com/D143237
This commit is contained in:
az
2022-04-20 18:43:47 +00:00
parent 5ff4150738
commit 92ad30e0bc
10 changed files with 14 additions and 24 deletions

View File

@@ -6775,7 +6775,7 @@ void HTMLMediaElement::SetPlaybackRate(double aPlaybackRate, ErrorResult& aRv) {
DispatchAsyncEvent(u"ratechange"_ns);
}
void HTMLMediaElement::SetMozPreservesPitch(bool aPreservesPitch) {
void HTMLMediaElement::SetPreservesPitch(bool aPreservesPitch) {
mPreservesPitch = aPreservesPitch;
if (mDecoder) {
mDecoder->SetPreservesPitch(mPreservesPitch);