Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 16eccf88d47f3a0be677b0ee582e260c75042fd1..784ecd8cd3a0ec1ebc4bc995808c15bb3f7e1593 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) |