Index: Source/core/css/resolver/StyleBuilderConverter.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderConverter.cpp b/Source/core/css/resolver/StyleBuilderConverter.cpp |
index c0e62fead1f50e243621548f65805909eb0bd0f6..10553703abd480f4c6d920c7c18379f8c60a419c 100644 |
--- a/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -978,4 +978,11 @@ PassRefPtr<ScaleTransformOperation> StyleBuilderConverter::convertScale(StyleRes |
return ScaleTransformOperation::create(sx, sy, sz, TransformOperation::Scale3D); |
} |
+RespectImageOrientationEnum StyleBuilderConverter::convertImageOrientation(StyleResolverState& state, CSSValue* value) |
+{ |
+ CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
+ return primitiveValue->getValueID() == CSSValueFromImage ? RespectImageOrientation : DoNotRespectImageOrientation; |
+} |
+ |
+ |
} // namespace blink |