summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc b/chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc
index 1edd47f7c1e..f137cab9032 100644
--- a/chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc
+++ b/chromium/third_party/blink/renderer/core/css/resolver/css_variable_animator.cc
@@ -70,13 +70,13 @@ void CSSVariableAnimator::Apply(const PropertyHandle& property) {
const ActiveInterpolations& interpolations =
ActiveInterpolationsForCustomProperty(update_, property);
const Interpolation& interpolation = *interpolations.front();
- if (interpolation.IsInvalidatableInterpolation()) {
+ if (IsA<InvalidatableInterpolation>(interpolation)) {
CSSInterpolationTypesMap map(state_.GetDocument().GetPropertyRegistry(),
state_.GetDocument());
CSSInterpolationEnvironment environment(map, state_, this);
InvalidatableInterpolation::ApplyStack(interpolations, environment);
} else {
- ToTransitionInterpolation(interpolation).Apply(state_);
+ To<TransitionInterpolation>(interpolation).Apply(state_);
}
pending_properties_.erase(property);
}