Index: Source/core/dom/RenderTreeBuilder.cpp |
diff --git a/Source/core/dom/RenderTreeBuilder.cpp b/Source/core/dom/RenderTreeBuilder.cpp |
index 3db451dfcef58fad505cf3df9b58e76feac2a19d..fe1998eff68d86baa0ae998aa47b0d7d0d76e980 100644 |
--- a/Source/core/dom/RenderTreeBuilder.cpp |
+++ b/Source/core/dom/RenderTreeBuilder.cpp |
@@ -34,7 +34,6 @@ |
#include "core/dom/Node.h" |
#include "core/dom/PseudoElement.h" |
#include "core/dom/Text.h" |
-#include "core/rendering/RenderFullScreen.h" |
#include "core/rendering/RenderObject.h" |
#include "core/rendering/RenderText.h" |
#include "core/rendering/RenderView.h" |
@@ -136,12 +135,6 @@ void RenderTreeBuilderForElement::createRenderer() |
m_node->setRenderer(newRenderer); |
newRenderer->setStyle(&style); // setStyle() can depend on renderer() already being set. |
- if (Fullscreen::isActiveFullScreenElement(*m_node)) { |
- newRenderer = RenderFullScreen::wrapRenderer(newRenderer, parentRenderer, &m_node->document()); |
- if (!newRenderer) |
- return; |
- } |
- |
// Note: Adding newRenderer instead of renderer(). renderer() may be a child of newRenderer. |
parentRenderer->addChild(newRenderer, nextRenderer); |
} |