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

Unified Diff: third_party/WebKit/Source/web/FullscreenController.cpp

Issue 2199783002: Clarify fullscreenElement vs. currentFullScreenElement distinction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/web/FullscreenController.cpp
diff --git a/third_party/WebKit/Source/web/FullscreenController.cpp b/third_party/WebKit/Source/web/FullscreenController.cpp
index 53c7cbcb2350a480b61090f6c674cbd59eb564a7..cfb4e98039e2a5af7c47d353bcbb349ce269862c 100644
--- a/third_party/WebKit/Source/web/FullscreenController.cpp
+++ b/third_party/WebKit/Source/web/FullscreenController.cpp
@@ -102,7 +102,7 @@ void FullscreenController::didExitFullscreen()
if (Document* document = m_fullScreenFrame->document()) {
if (Fullscreen* fullscreen = Fullscreen::fromIfExists(*document)) {
- Element* element = fullscreen->webkitCurrentFullScreenElement();
+ Element* element = fullscreen->currentFullScreenElement();
if (element) {
// When the client exits from full screen we have to call fullyExitFullscreen to notify
// the document. While doing that, suppress notifications back to the client.

Powered by Google App Engine
This is Rietveld 408576698