Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
index b44925bed08f099a2ad791ae7fb6780cdcfc35e9..d9a49cbf41c5da51936754072342c503d0f29c72 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -552,15 +552,6 @@ void StyleBuilderFunctions::applyValueCSSPropertyZoom(StyleResolverState& state, |
if (identifier_value.GetValueID() == CSSValueNormal) { |
ResetEffectiveZoom(state); |
state.SetZoom(ComputedStyle::InitialZoom()); |
- } else if (identifier_value.GetValueID() == CSSValueReset) { |
- state.SetEffectiveZoom(ComputedStyle::InitialZoom()); |
- state.SetZoom(ComputedStyle::InitialZoom()); |
- } else if (identifier_value.GetValueID() == CSSValueDocument) { |
- float doc_zoom = state.RootElementStyle() |
- ? state.RootElementStyle()->Zoom() |
- : ComputedStyle::InitialZoom(); |
- state.SetEffectiveZoom(doc_zoom); |
- state.SetZoom(doc_zoom); |
} |
} else if (value.IsPrimitiveValue()) { |
const CSSPrimitiveValue& primitive_value = ToCSSPrimitiveValue(value); |