Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp

Issue 2651533005: Make StyleResolverState argument a pointer in maybeConvertValue() (Closed)
Patch Set: Rebased Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp
index c448b2309d2ac7766b44d7da7560b9d9e7634c68..f364e8dac1afeeb15506f300e4077da99eaa3fe9 100644
--- a/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp
@@ -40,20 +40,20 @@ DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(CSSValueNonInterpolableValue);
InterpolationValue CSSValueInterpolationType::maybeConvertInitial(
const StyleResolverState& state,
ConversionCheckers& conversionCheckers) const {
- return maybeConvertValue(*CSSInitialValue::create(), state,
+ return maybeConvertValue(*CSSInitialValue::create(), &state,
conversionCheckers);
}
InterpolationValue CSSValueInterpolationType::maybeConvertInherit(
const StyleResolverState& state,
ConversionCheckers& conversionCheckers) const {
- return maybeConvertValue(*CSSInheritedValue::create(), state,
+ return maybeConvertValue(*CSSInheritedValue::create(), &state,
conversionCheckers);
}
InterpolationValue CSSValueInterpolationType::maybeConvertValue(
const CSSValue& value,
- const StyleResolverState& state,
+ const StyleResolverState*,
ConversionCheckers& conversionCheckers) const {
return InterpolationValue(InterpolableList::create(0),
CSSValueNonInterpolableValue::create(&value));

Powered by Google App Engine
This is Rietveld 408576698