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) |