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

Unified Diff: third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.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/CSSImageListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp
index 73c89993f0938bdeee431084f91583e5f2c46359..8930ad7fd15ec832b0f05418f8cc0c562d22faa0 100644
--- a/third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp
@@ -66,19 +66,20 @@ InterpolationValue CSSImageListInterpolationType::maybeConvertStyleImageList(
});
}
-class ParentImageListChecker : public InterpolationType::ConversionChecker {
+class InheritedImageListChecker : public InterpolationType::ConversionChecker {
public:
- ~ParentImageListChecker() final {}
+ ~InheritedImageListChecker() final {}
- static std::unique_ptr<ParentImageListChecker> create(
+ static std::unique_ptr<InheritedImageListChecker> create(
CSSPropertyID property,
const StyleImageList& inheritedImageList) {
- return wrapUnique(new ParentImageListChecker(property, inheritedImageList));
+ return wrapUnique(
+ new InheritedImageListChecker(property, inheritedImageList));
}
private:
- ParentImageListChecker(CSSPropertyID property,
- const StyleImageList& inheritedImageList)
+ InheritedImageListChecker(CSSPropertyID property,
+ const StyleImageList& inheritedImageList)
: m_property(property), m_inheritedImageList(inheritedImageList) {}
bool isValid(const InterpolationEnvironment& environment,
@@ -103,7 +104,7 @@ InterpolationValue CSSImageListInterpolationType::maybeConvertInherit(
ImageListPropertyFunctions::getImageList(cssProperty(), *state.parentStyle(),
inheritedImageList);
conversionCheckers.append(
- ParentImageListChecker::create(cssProperty(), inheritedImageList));
+ InheritedImageListChecker::create(cssProperty(), inheritedImageList));
return maybeConvertStyleImageList(inheritedImageList);
}

Powered by Google App Engine
This is Rietveld 408576698