зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1654657 - Fix bustages caused by the backout of Bug 1200896 and conflicting changes to NotifyFullScreenChangedForMediaElement. a=bustage-fix
CLOSED TREE
This commit is contained in:
Родитель
fc1c9759fc
Коммит
073a6cee86
|
@ -13642,7 +13642,7 @@ void Document::UnsetFullscreenElement() {
|
|||
bool Document::SetFullscreenElement(Element* aElement) {
|
||||
if (TopLayerPush(aElement)) {
|
||||
EventStateManager::SetFullscreenState(aElement, true);
|
||||
NotifyFullScreenChangedForMediaControl(aElement, true);
|
||||
NotifyFullScreenChangedForMediaElement(aElement, true);
|
||||
UpdateViewportScrollbarOverrideForFullscreen(this);
|
||||
return true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче