Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: Source/core/dom/LayoutTreeBuilder.cpp

Issue 1139033006: Implement FullScreen using top layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Fullscreen.cpp ('k') | Source/core/dom/StyleChangeReason.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LayoutTreeBuilder.cpp
diff --git a/Source/core/dom/LayoutTreeBuilder.cpp b/Source/core/dom/LayoutTreeBuilder.cpp
index bbd8b190102dee95fe5b8dca49eb9a134da2b8bc..09ebf6ddf19748ae088b7a73c7a7630213fe9b7f 100644
--- a/Source/core/dom/LayoutTreeBuilder.cpp
+++ b/Source/core/dom/LayoutTreeBuilder.cpp
@@ -35,7 +35,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"
@@ -136,12 +135,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);
}
« no previous file with comments | « Source/core/dom/Fullscreen.cpp ('k') | Source/core/dom/StyleChangeReason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698