| Index: third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
|
| index caf47737bc4ec1187e9a42f99d5d16673c9d4354..efaa5c3741d26ab4c7be4356f45b8e4f6f151039 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp
|
| @@ -145,7 +145,7 @@ InterpolationValue CSSVisibilityInterpolationType::maybeConvertValue(const CSSVa
|
|
|
| InterpolationValue CSSVisibilityInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const
|
| {
|
| - return createVisibilityValue(environment.state().style()->visibility());
|
| + return createVisibilityValue(environment.style().visibility());
|
| }
|
|
|
| PairwiseInterpolationValue CSSVisibilityInterpolationType::maybeMergeSingles(InterpolationValue&& start, InterpolationValue&& end) const
|
| @@ -168,7 +168,7 @@ void CSSVisibilityInterpolationType::apply(const InterpolableValue& interpolable
|
| // Visibility interpolation has been deferred to application time here due to its non-linear behaviour.
|
| double fraction = toInterpolableNumber(interpolableValue).value();
|
| EVisibility visibility = toCSSVisibilityNonInterpolableValue(nonInterpolableValue)->visibility(fraction);
|
| - environment.state().style()->setVisibility(visibility);
|
| + environment.style().setVisibility(visibility);
|
| }
|
|
|
| } // namespace blink
|
|
|