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

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

Issue 2555543002: CSS Motion Path: Support offset-rotate in addition to offset-rotation (Closed)
Patch Set: reformat 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/CSSOffsetRotationInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSOffsetRotationInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSOffsetRotationInterpolationType.h
index fd0f0dd37b5ef36735042e41b698123efc3f797a..d83662c146bf7bfdd7f45d8722dc1b0aa17f97b8 100644
--- a/third_party/WebKit/Source/core/animation/CSSOffsetRotationInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSOffsetRotationInterpolationType.h
@@ -13,7 +13,8 @@ class CSSOffsetRotationInterpolationType : public CSSInterpolationType {
public:
CSSOffsetRotationInterpolationType(PropertyHandle property)
: CSSInterpolationType(property) {
- DCHECK_EQ(cssProperty(), CSSPropertyOffsetRotation);
+ DCHECK(cssProperty() == CSSPropertyOffsetRotate ||
+ cssProperty() == CSSPropertyOffsetRotation);
}
InterpolationValue maybeConvertUnderlyingValue(

Powered by Google App Engine
This is Rietveld 408576698