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

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

Issue 2578043002: Rename apply() in CSSInterpolationType subclasses (Closed)
Patch Set: rebased Created 4 years 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/CSSTextIndentInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
index 731a7369448da406c64e9d3e016d0793596b8e8c..661af64fb88efd3a038e801bd02aee897cf173f1 100644
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
@@ -234,17 +234,17 @@ void CSSTextIndentInterpolationType::composite(
nonInterpolableValue.lengthNonInterpolableValue());
}
-void CSSTextIndentInterpolationType::apply(
+void CSSTextIndentInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
const CSSTextIndentNonInterpolableValue& cssTextIndentNonInterpolableValue =
toCSSTextIndentNonInterpolableValue(*nonInterpolableValue);
- ComputedStyle& style = *environment.state().style();
+ ComputedStyle& style = *state.style();
style.setTextIndent(LengthInterpolationFunctions::createLength(
interpolableValue,
cssTextIndentNonInterpolableValue.lengthNonInterpolableValue(),
- environment.state().cssToLengthConversionData(), ValueRangeAll));
+ state.cssToLengthConversionData(), ValueRangeAll));
const IndentMode& mode = cssTextIndentNonInterpolableValue.mode();
style.setTextIndentLine(mode.line);

Powered by Google App Engine
This is Rietveld 408576698