Index: Source/platform/transforms/RotateTransformOperation.h |
diff --git a/Source/platform/transforms/RotateTransformOperation.h b/Source/platform/transforms/RotateTransformOperation.h |
index 2894b84d689255832f3a4a1ea280e06e64b0abb8..637697d2eeecf419ae5b63300cca1a43d7724408 100644 |
--- a/Source/platform/transforms/RotateTransformOperation.h |
+++ b/Source/platform/transforms/RotateTransformOperation.h |
@@ -47,7 +47,7 @@ public: |
double angle() const { return m_angle; } |
private: |
- virtual bool isIdentity() const { return m_angle == 0; } |
+ virtual bool isIdentity() const OVERRIDE { return !m_angle; } |
virtual OperationType type() const OVERRIDE { return m_type; } |
@@ -59,12 +59,12 @@ private: |
return m_x == r->m_x && m_y == r->m_y && m_z == r->m_z && m_angle == r->m_angle; |
} |
- virtual void apply(TransformationMatrix& transform, const FloatSize& /*borderBoxSize*/) const |
+ virtual void apply(TransformationMatrix& transform, const FloatSize& /*borderBoxSize*/) const OVERRIDE |
{ |
transform.rotate3d(m_x, m_y, m_z, m_angle); |
} |
- virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false); |
+ virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) OVERRIDE; |
RotateTransformOperation(double x, double y, double z, double angle, OperationType type) |
: m_x(x) |