Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index 30abca47feec71c8bb0dfc37fc05af41e02d7e45..5ba4a8856b3e9f12261e8f555ab2cdc4b6bfea86 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -228,7 +228,7 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
|| style->hasBlendMode() |
|| style->hasIsolation() |
|| style->position() == StickyPosition |
- || (style->position() == FixedPosition && e && e->document().settings() && e->document().settings()->fixedPositionCreatesStackingContext()) |
+ || style->position() == FixedPosition |
|| isInTopLayer(e, style) |
|| hasWillChangeThatCreatesStackingContext(style, e) |
)) |