| 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..c32cdf0b76d08202b66614ec69c3e916de165500 100644
|
| --- a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp
|
| @@ -31,12 +31,10 @@
|
| #include "core/SVGNames.h"
|
| #include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/FirstLetterPseudoElement.h"
|
| -#include "core/dom/Fullscreen.h"
|
| #include "core/dom/Node.h"
|
| #include "core/dom/PseudoElement.h"
|
| #include "core/dom/Text.h"
|
| #include "core/dom/shadow/InsertionPoint.h"
|
| -#include "core/layout/LayoutFullScreen.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/layout/LayoutText.h"
|
| #include "core/layout/LayoutView.h"
|
| @@ -143,13 +141,6 @@ void LayoutTreeBuilderForElement::createLayoutObject() {
|
| newLayoutObject->setStyle(
|
| &style); // setStyle() can depend on layoutObject() already being set.
|
|
|
| - if (Fullscreen::isCurrentFullScreenElement(*m_node)) {
|
| - newLayoutObject = LayoutFullScreen::wrapLayoutObject(
|
| - newLayoutObject, parentLayoutObject, &m_node->document());
|
| - if (!newLayoutObject)
|
| - return;
|
| - }
|
| -
|
| // Note: Adding newLayoutObject instead of layoutObject(). layoutObject() may
|
| // be a child of newLayoutObject.
|
| parentLayoutObject->addChild(newLayoutObject, nextLayoutObject);
|
|
|