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

Unified Diff: third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.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/CSSShadowListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
index 7631a8d5073dad02242cfa191bd61153e713fc1d..3318db7b06577ecb22527c485fdca424a106ceb7 100644
--- a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
@@ -157,14 +157,13 @@ static PassRefPtr<ShadowList> createShadowList(
return ShadowList::adopt(shadows);
}
-void CSSShadowListInterpolationType::apply(
+void CSSShadowListInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
ShadowListPropertyFunctions::setShadowList(
- cssProperty(), *environment.state().style(),
- createShadowList(interpolableValue, nonInterpolableValue,
- environment.state()));
+ cssProperty(), *state.style(),
+ createShadowList(interpolableValue, nonInterpolableValue, state));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698