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

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

Issue 130983006: Revert of Replace RenderFullScreen with top layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/Document.cpp ('k') | Source/core/dom/FullscreenElementStack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index c528b8b77d020664125a92a4a8982195bb92fcdb..ebdb3a0f525af79c9bf072abcb6fb6a00dca48d5 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -2796,8 +2796,7 @@ bool Element::needsPseudoElement(PseudoId pseudoId, const RenderStyle& style) co
return false;
if (!renderer() || !pseudoElementRendererIsNeeded(&style))
return false;
- /* It's safe to have a backdrop since its renderer is always a child of RenderView. */
- if (pseudoId != BACKDROP && !renderer()->canHaveGeneratedChildren())
+ if (!renderer()->canHaveGeneratedChildren())
return false;
return true;
}
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/FullscreenElementStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698