mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 810302 - Force playing videos to always get an active layers. r=roc
This commit is contained in:
parent
6d2e1e3a69
commit
a294f6e3de
@ -360,7 +360,7 @@ public:
|
||||
}
|
||||
nsHTMLMediaElement* elem =
|
||||
static_cast<nsHTMLMediaElement*>(mFrame->GetContent());
|
||||
return elem->IsPotentiallyPlaying() ? LAYER_ACTIVE : LAYER_INACTIVE;
|
||||
return elem->IsPotentiallyPlaying() ? LAYER_ACTIVE_FORCE : LAYER_INACTIVE;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user