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

Unified Diff: third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.h

Issue 2309873003: Extend PropertyHandle to include custom property identifiers (Closed)
Patch Set: Add unit tests Created 4 years, 3 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/CSSScaleInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.h
index cacdb4713fdde4484bf3f31e8b3ec3a9fdf1b3c4..06a0eb1c3a06caa12cbe3a826165358d11af2c86 100644
--- a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.h
@@ -11,10 +11,10 @@ namespace blink {
class CSSScaleInterpolationType : public CSSInterpolationType {
public:
- CSSScaleInterpolationType(CSSPropertyID property)
+ CSSScaleInterpolationType(PropertyHandle property)
: CSSInterpolationType(property)
{
- DCHECK_EQ(property, CSSPropertyScale);
+ DCHECK_EQ(cssProperty(), CSSPropertyScale);
}
InterpolationValue maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;

Powered by Google App Engine
This is Rietveld 408576698