summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc b/chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc
index 572fa057055..c8dee3ece6c 100644
--- a/chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc
+++ b/chromium/third_party/blink/renderer/core/animation/css/css_animatable_value_factory.cc
@@ -39,7 +39,7 @@
namespace blink {
-static scoped_refptr<AnimatableValue> CreateFromTransformProperties(
+static AnimatableValue* CreateFromTransformProperties(
scoped_refptr<TransformOperation> transform,
double zoom,
scoped_refptr<TransformOperation> initial_transform) {
@@ -52,9 +52,8 @@ static scoped_refptr<AnimatableValue> CreateFromTransformProperties(
return AnimatableTransform::Create(operation, has_transform ? zoom : 1);
}
-scoped_refptr<AnimatableValue> CSSAnimatableValueFactory::Create(
- const CSSProperty& property,
- const ComputedStyle& style) {
+AnimatableValue* CSSAnimatableValueFactory::Create(const CSSProperty& property,
+ const ComputedStyle& style) {
DCHECK(property.IsInterpolable());
DCHECK(property.IsCompositableProperty());
switch (property.PropertyID()) {