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 1beefc59f081cdc3dd9ed35db85f899fe3199923..cc531b3fc3e368f2cbc8d2582fc80039cc7d71f4 100644 |
--- a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp |
+++ b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp |
@@ -34,7 +34,6 @@ |
#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" |
@@ -135,12 +134,6 @@ void LayoutTreeBuilderForElement::createLayoutObject() |
m_node->setLayoutObject(newLayoutObject); |
newLayoutObject->setStyle(&style); // setStyle() can depend on layoutObject() already being set. |
- if (Fullscreen::isActiveFullScreenElement(*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); |
} |