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

Unified Diff: third_party/WebKit/Source/core/html/media/MediaCustomControlsFullscreenDetector.cpp

Issue 2855843002: Reland "Sync requestFullscreen() and exitFullscreen() algorithms with the spec" (Closed)
Patch Set: Reland "Sync requestFullscreen() and exitFullscreen() algorithms with the spec" Created 3 years, 7 months 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/media/MediaCustomControlsFullscreenDetector.cpp
diff --git a/third_party/WebKit/Source/core/html/media/MediaCustomControlsFullscreenDetector.cpp b/third_party/WebKit/Source/core/html/media/MediaCustomControlsFullscreenDetector.cpp
index 2d6cc0a62920e7df78c4a10718df8131858c02c4..5abe2d12581f189ea2ff97e017f20539368ff596 100644
--- a/third_party/WebKit/Source/core/html/media/MediaCustomControlsFullscreenDetector.cpp
+++ b/third_party/WebKit/Source/core/html/media/MediaCustomControlsFullscreenDetector.cpp
@@ -144,7 +144,7 @@ void MediaCustomControlsFullscreenDetector::
bool MediaCustomControlsFullscreenDetector::IsVideoOrParentFullscreen() {
Element* fullscreen_element =
- Fullscreen::CurrentFullScreenElementFrom(VideoElement().GetDocument());
+ Fullscreen::FullscreenElementFrom(VideoElement().GetDocument());
if (!fullscreen_element)
return false;

Powered by Google App Engine
This is Rietveld 408576698