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

Unified Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegate.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/modules/media_controls/MediaControlsRotateToFullscreenDelegate.cpp
diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegate.cpp b/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegate.cpp
index c5f5ce9b00dbf4fe231e7900afbe1f8d6480eb9d..d1088eefe557d57b3a8b336371be6d95e3501f31 100644
--- a/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegate.cpp
+++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsRotateToFullscreenDelegate.cpp
@@ -140,7 +140,7 @@ void MediaControlsRotateToFullscreenDelegate::OnScreenOrientationChange() {
// Don't enter/exit fullscreen if some other element is fullscreen.
Element* fullscreen_element =
- Fullscreen::CurrentFullScreenElementFrom(video_element_->GetDocument());
+ Fullscreen::FullscreenElementFrom(video_element_->GetDocument());
if (fullscreen_element && fullscreen_element != video_element_)
return;

Powered by Google App Engine
This is Rietveld 408576698