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

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

Issue 2453573003: Web Animations: consistent naming for parent style checkers (Closed)
Patch Set: inheritedValue Created 4 years, 2 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/CSSLengthListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
index 5a2d0aa7eeae62487b8d50312faa7e6ecf10f4b6..73506737aaf204cdd2857f2e4beb55f7d92386d8 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp
@@ -60,20 +60,20 @@ InterpolationValue CSSLengthListInterpolationType::maybeConvertInitial(
return maybeConvertLengthList(initialLengthList, 1);
}
-class ParentLengthListChecker : public InterpolationType::ConversionChecker {
+class InheritedLengthListChecker : public InterpolationType::ConversionChecker {
public:
- ~ParentLengthListChecker() final {}
+ ~InheritedLengthListChecker() final {}
- static std::unique_ptr<ParentLengthListChecker> create(
+ static std::unique_ptr<InheritedLengthListChecker> create(
CSSPropertyID property,
const Vector<Length>& inheritedLengthList) {
return wrapUnique(
- new ParentLengthListChecker(property, inheritedLengthList));
+ new InheritedLengthListChecker(property, inheritedLengthList));
}
private:
- ParentLengthListChecker(CSSPropertyID property,
- const Vector<Length>& inheritedLengthList)
+ InheritedLengthListChecker(CSSPropertyID property,
+ const Vector<Length>& inheritedLengthList)
: m_property(property), m_inheritedLengthList(inheritedLengthList) {}
bool isValid(const InterpolationEnvironment& environment,
@@ -95,7 +95,7 @@ InterpolationValue CSSLengthListInterpolationType::maybeConvertInherit(
bool success = LengthListPropertyFunctions::getLengthList(
cssProperty(), *state.parentStyle(), inheritedLengthList);
conversionCheckers.append(
- ParentLengthListChecker::create(cssProperty(), inheritedLengthList));
+ InheritedLengthListChecker::create(cssProperty(), inheritedLengthList));
if (!success)
return nullptr;
return maybeConvertLengthList(inheritedLengthList,

Powered by Google App Engine
This is Rietveld 408576698