Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index 21a5a151b74c50e3592bbe996ecea9450dbcb575..38e4769eb1be01c306945cf384c77124653daae5 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -1594,10 +1594,6 @@ void StyleResolver::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
|| style->hasBlendMode() |
|| style->position() == StickyPosition |
|| (style->position() == FixedPosition && e && e->document()->page() && e->document()->page()->settings()->fixedPositionCreatesStackingContext()) |
-#if ENABLE(ACCELERATED_OVERFLOW_SCROLLING) |
- // Touch overflow scrolling creates a stacking context. |
- || ((style->overflowX() != OHIDDEN || style->overflowY() != OHIDDEN) && style->useTouchOverflowScrolling()) |
-#endif |
|| (e && e->isInTopLayer()) |
)) |
style->setZIndex(0); |
@@ -2844,15 +2840,6 @@ void StyleResolver::applyProperty(CSSPropertyID id, CSSValue* value) |
state.style()->setTapHighlightColor(col); |
return; |
} |
-#if ENABLE(ACCELERATED_OVERFLOW_SCROLLING) |
- case CSSPropertyWebkitOverflowScrolling: { |
- HANDLE_INHERIT_AND_INITIAL(useTouchOverflowScrolling, UseTouchOverflowScrolling); |
- if (!primitiveValue) |
- break; |
- state.style()->setUseTouchOverflowScrolling(primitiveValue->getValueID() == CSSValueTouch); |
- return; |
- } |
-#endif |
case CSSPropertyInvalid: |
return; |
// Directional properties are resolved by resolveDirectionAwareProperty() before the switch. |