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

Unified Diff: Source/platform/transforms/TransformOperation.h

Issue 1196913005: Implement animations for Independent CSS Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix rotate-interpolation test Created 5 years, 6 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: Source/platform/transforms/TransformOperation.h
diff --git a/Source/platform/transforms/TransformOperation.h b/Source/platform/transforms/TransformOperation.h
index b131f3ae5811df844eeaa1fc1c3b6cc3a2b3a2cd..fb7f6c71ce5e6d0f0e2c36cdd88aea02f0aaf046 100644
--- a/Source/platform/transforms/TransformOperation.h
+++ b/Source/platform/transforms/TransformOperation.h
@@ -83,6 +83,9 @@ public:
virtual bool dependsOnBoxSize() const { return false; }
};
+#define DEFINE_TRANSFORM_TYPE_CASTS(thisType) \
+ DEFINE_TYPE_CASTS(thisType, TransformOperation, transform, thisType::isMatchingOperationType(transform->type()), thisType::isMatchingOperationType(transform.type()))
+
} // namespace blink
#endif // TransformOperation_h
« no previous file with comments | « Source/platform/transforms/ScaleTransformOperation.h ('k') | Source/platform/transforms/TranslateTransformOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698