Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index f819e63b3a01f1c1be12dacdaac721f7f8b955de..d57670eed532f6cebfcd692ba732086744c740e6 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -577,7 +577,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyVerticalAlign(StyleResolverStat |
static void resetEffectiveZoom(StyleResolverState& state) |
{ |
// Reset the zoom in effect. This allows the setZoom method to accurately compute a new zoom in effect. |
- state.setEffectiveZoom(state.parentStyle() ? state.parentStyle()->effectiveZoom() : RenderStyle::initialZoom()); |
+ state.setEffectiveZoom(state.parentStyle()->effectiveZoom()); |
} |
void StyleBuilderFunctions::applyInitialCSSPropertyZoom(StyleResolverState& state) |