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

Unified Diff: third_party/WebKit/Source/platform/transforms/RotateTransformOperation.h

Issue 2519333004: Don't use post multiplication on transforms with compatible pairs of operations (Closed)
Patch Set: Rename 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/platform/transforms/RotateTransformOperation.h
diff --git a/third_party/WebKit/Source/platform/transforms/RotateTransformOperation.h b/third_party/WebKit/Source/platform/transforms/RotateTransformOperation.h
index e1f0cc434ac338518a001acfdcb592d95e9c3b36..1d2e45084974d8fcb50ed8ac4ccb2dd20c88ac3e 100644
--- a/third_party/WebKit/Source/platform/transforms/RotateTransformOperation.h
+++ b/third_party/WebKit/Source/platform/transforms/RotateTransformOperation.h
@@ -66,6 +66,7 @@ class PLATFORM_EXPORT RotateTransformOperation : public TransformOperation {
virtual bool canBlendWith(const TransformOperation& other) const;
OperationType type() const override { return m_type; }
+ OperationType primitiveType() const final { return Rotate3D; }
void apply(TransformationMatrix& transform,
const FloatSize& /*borderBoxSize*/) const override {

Powered by Google App Engine
This is Rietveld 408576698