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

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

Issue 1158603003: CSS Independent Transform Properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/RotateTransformOperation.h
diff --git a/Source/platform/transforms/RotateTransformOperation.h b/Source/platform/transforms/RotateTransformOperation.h
index 9f6f22fba3b95ab1a1f753730de0c58a0c47dc4d..9d4722615c3da5de040221a6290fec5c6a2d626f 100644
--- a/Source/platform/transforms/RotateTransformOperation.h
+++ b/Source/platform/transforms/RotateTransformOperation.h
@@ -41,6 +41,11 @@ public:
return adoptRef(new RotateTransformOperation(x, y, z, angle, type));
}
+ static PassRefPtr<RotateTransformOperation> create(PassRefPtr<RotateTransformOperation> o)
Timothy Loh 2015/06/05 00:56:00 unused?
soonm 2015/06/10 04:09:32 Removed
+ {
+ return adoptRef(new RotateTransformOperation(*o));
+ }
+
double x() const { return m_x; }
double y() const { return m_y; }
double z() const { return m_z; }
@@ -78,6 +83,15 @@ private:
ASSERT(type == RotateX || type == RotateY || type == RotateZ || type == Rotate3D);
}
+ RotateTransformOperation(const RotateTransformOperation& o)
Timothy Loh 2015/06/05 00:56:00 unused?
soonm 2015/06/10 04:09:32 Removed
+ : m_x(o.m_x)
+ , m_y(o.m_y)
+ , m_z(o.m_z)
+ , m_angle(o.m_angle)
+ , m_type(o.m_type)
+ {
+ };
+
double m_x;
double m_y;
double m_z;

Powered by Google App Engine
This is Rietveld 408576698