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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.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/core/layout/LayoutInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index 42a76bc6d31bfe668fed3c7ff1a3ba071bd30424..db88f217c79ed710f31cb08737b67934b5d80824 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -356,7 +356,7 @@ void LayoutInline::splitInlines(LayoutBlockFlow* fromBlock, LayoutBlockFlow* toB
// parent. Since the splitting logic expects |this| to be the parent, set
// |beforeChild| to be the LayoutFullScreen.
if (Fullscreen* fullscreen = Fullscreen::fromIfExists(document())) {
- const Element* fullScreenElement = fullscreen->webkitCurrentFullScreenElement();
+ const Element* fullScreenElement = fullscreen->currentFullScreenElement();
if (fullScreenElement && beforeChild && beforeChild->node() == fullScreenElement)
beforeChild = fullscreen->fullScreenLayoutObject();
}

Powered by Google App Engine
This is Rietveld 408576698