Index: Source/core/dom/RenderTreeBuilder.cpp |
diff --git a/Source/core/dom/RenderTreeBuilder.cpp b/Source/core/dom/RenderTreeBuilder.cpp |
index eb3349470a361e14d700027287a9087458299879..b673e5b438f18aa20f3d7099dfe931cb1564e0ca 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/Text.h" |
#include "core/rendering/FlowThreadController.h" |
-#include "core/rendering/RenderFullScreen.h" |
#include "core/rendering/RenderNamedFlowThread.h" |
#include "core/rendering/RenderObject.h" |
#include "core/rendering/RenderText.h" |
@@ -231,14 +230,6 @@ void RenderTreeBuilder::createRendererForElementIfNeeded() |
RenderObject* nextRenderer = this->nextRenderer(); |
element->setRenderer(newRenderer); |
newRenderer->setAnimatableStyle(&style); // setAnimatableStyle() can depend on renderer() already being set. |
- |
- if (FullscreenElementStack::isActiveFullScreenElement(element)) { |
- newRenderer = RenderFullScreen::wrapRenderer(newRenderer, parentRenderer, &element->document()); |
- if (!newRenderer) |
- return; |
- } |
- |
- // Note: Adding newRenderer instead of renderer(). renderer() may be a child of newRenderer. |
parentRenderer->addChild(newRenderer, nextRenderer); |
} |