mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
Merge latest green birch changeset and mozilla-central
This commit is contained in:
commit
2404a06181
@ -1700,6 +1700,10 @@ void HTMLMediaElement::SetMutedInternal(uint32_t aMuted)
|
||||
|
||||
NS_IMETHODIMP HTMLMediaElement::SetMuted(bool aMuted)
|
||||
{
|
||||
if (aMuted == Muted()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aMuted) {
|
||||
SetMutedInternal(mMuted | MUTED_BY_CONTENT);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user