Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index a46b82f760e1779120f6d7802ddd6027d4e2acfb..1e65de9b040149ebf521bdd7d97bd5651054aa30 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -43,7 +43,6 @@ |
#include "core/StyleBuilderFunctions.h" |
#include "core/StylePropertyShorthand.h" |
#include "core/css/BasicShapeFunctions.h" |
-#include "core/css/CSSAspectRatioValue.h" |
#include "core/css/CSSCursorImageValue.h" |
#include "core/css/CSSFontValue.h" |
#include "core/css/CSSGradientValue.h" |
@@ -734,34 +733,6 @@ void StyleBuilderFunctions::applyValueCSSPropertyZoom(StyleResolverState& state, |
} |
} |
-void StyleBuilderFunctions::applyInitialCSSPropertyWebkitAspectRatio(StyleResolverState& state) |
-{ |
- state.style()->setHasAspectRatio(RenderStyle::initialHasAspectRatio()); |
- state.style()->setAspectRatioDenominator(RenderStyle::initialAspectRatioDenominator()); |
- state.style()->setAspectRatioNumerator(RenderStyle::initialAspectRatioNumerator()); |
-} |
- |
-void StyleBuilderFunctions::applyInheritCSSPropertyWebkitAspectRatio(StyleResolverState& state) |
-{ |
- if (!state.parentStyle()->hasAspectRatio()) |
- return; |
- state.style()->setHasAspectRatio(true); |
- state.style()->setAspectRatioDenominator(state.parentStyle()->aspectRatioDenominator()); |
- state.style()->setAspectRatioNumerator(state.parentStyle()->aspectRatioNumerator()); |
-} |
- |
-void StyleBuilderFunctions::applyValueCSSPropertyWebkitAspectRatio(StyleResolverState& state, CSSValue* value) |
-{ |
- if (!value->isAspectRatioValue()) { |
- state.style()->setHasAspectRatio(false); |
- return; |
- } |
- CSSAspectRatioValue* aspectRatioValue = toCSSAspectRatioValue(value); |
- state.style()->setHasAspectRatio(true); |
- state.style()->setAspectRatioDenominator(aspectRatioValue->denominatorValue()); |
- state.style()->setAspectRatioNumerator(aspectRatioValue->numeratorValue()); |
-} |
- |
void StyleBuilderFunctions::applyValueCSSPropertyWebkitBorderImage(StyleResolverState& state, CSSValue* value) |
{ |
NinePieceImage image; |