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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 134133004: Revert of Retry "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/css/fullscreen.css ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index f47fd6242b37f8e8d0f7ee6840e6b51746b8256c..9ef098decd20a0d3ba192f02d25b35f67ba5364f 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -880,9 +880,7 @@
if (pseudoId == BACKDROP && !parent.isInTopLayer())
return 0;
- // It's safe to have a backdrop since its renderer is always a child of RenderView.
- ASSERT(static_cast<RenderObject*>(parentRenderer->view())->canHaveGeneratedChildren());
- if (pseudoId != BACKDROP && !parentRenderer->canHaveGeneratedChildren())
+ if (!parentRenderer->canHaveGeneratedChildren())
return 0;
RenderStyle* parentStyle = parentRenderer->style();
« no previous file with comments | « Source/core/css/fullscreen.css ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698