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

Unified Diff: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.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/CSSFontWeightInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.h
index 0b246d9983c9b3bc27a52042c4b79f50703aec90..edc89e59500f69f2caed43b57ce661ac39274056 100644
--- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.h
@@ -12,10 +12,10 @@ namespace blink {
class CSSFontWeightInterpolationType : public CSSInterpolationType {
public:
- CSSFontWeightInterpolationType(CSSPropertyID property)
+ CSSFontWeightInterpolationType(PropertyHandle property)
: CSSInterpolationType(property)
{
- DCHECK_EQ(property, CSSPropertyFontWeight);
+ DCHECK_EQ(cssProperty(), CSSPropertyFontWeight);
}
InterpolationValue maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;

Powered by Google App Engine
This is Rietveld 408576698