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

Unified Diff: third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp

Issue 2557943002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: rebase 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/dom/LayoutTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp
index 77046c3b2ad24a774e8c5737e3b599527bf9ec82..5b16dac3709afd48dda33df3729aec1da488fc18 100644
--- a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp
@@ -143,7 +143,7 @@ void LayoutTreeBuilderForElement::createLayoutObject() {
newLayoutObject->setStyle(
&style); // setStyle() can depend on layoutObject() already being set.
- if (Fullscreen::isCurrentFullScreenElement(*m_node)) {
+ if (Fullscreen::isFullscreenElement(*m_node)) {
newLayoutObject = LayoutFullScreen::wrapLayoutObject(
newLayoutObject, parentLayoutObject, &m_node->document());
if (!newLayoutObject)
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698