Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2573773002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: address feedback Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index f2371c912201335deecb6dde3bc1ab629b6faee1..bbc07a54e63896058d8dff050b7b6332153acda6 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3412,7 +3412,7 @@ bool HTMLMediaElement::hasPendingActivity() const {
}
bool HTMLMediaElement::isFullscreen() const {
- return Fullscreen::isCurrentFullScreenElement(*this);
+ return Fullscreen::isFullscreenElement(*this);
}
void HTMLMediaElement::didEnterFullscreen() {

Powered by Google App Engine
This is Rietveld 408576698