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

Unified Diff: third_party/WebKit/Source/core/animation/CSSPathInterpolationType.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/CSSPathInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
index 03f717342510331f2e20b32ff3df80e9482e2a8a..ca884dc0c888aba1d37d74fecbf22f1345b2bd78 100644
--- a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
@@ -13,20 +13,19 @@
namespace blink {
-void CSSPathInterpolationType::apply(
+void CSSPathInterpolationType::applyStandardPropertyValue(
const InterpolableValue& interpolableValue,
const NonInterpolableValue* nonInterpolableValue,
- InterpolationEnvironment& environment) const {
+ StyleResolverState& state) const {
DCHECK_EQ(cssProperty(), CSSPropertyD);
std::unique_ptr<SVGPathByteStream> pathByteStream =
PathInterpolationFunctions::appliedValue(interpolableValue,
nonInterpolableValue);
if (pathByteStream->isEmpty()) {
- environment.state().style()->setD(nullptr);
+ state.style()->setD(nullptr);
return;
}
- environment.state().style()->setD(
- StylePath::create(std::move(pathByteStream)));
+ state.style()->setD(StylePath::create(std::move(pathByteStream)));
}
void CSSPathInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698