Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
No need to enterFullscreen() when already in fullscreen
https://bugs.webkit.org/show_bug.cgi?id=128276 Reviewed by Jer Noble. No new tests, this is just cleanup. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::updatePlayState): Don't call enterFullscreen() if already there. (WebCore::HTMLMediaElement::enterFullscreen): Return early if m_isFullscreen is already true. Canonical link: https://commits.webkit.org/146317@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
b530f2c
commit 875c319
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters