Index: Source/platform/transforms/MatrixTransformOperation.h |
diff --git a/Source/platform/transforms/MatrixTransformOperation.h b/Source/platform/transforms/MatrixTransformOperation.h |
index 139006f698dedc6320ccfb976af0b4ddc103330b..cd256a5053a753331bb29ec9e29c00d1545714c4 100644 |
--- a/Source/platform/transforms/MatrixTransformOperation.h |
+++ b/Source/platform/transforms/MatrixTransformOperation.h |
@@ -45,7 +45,7 @@ public: |
TransformationMatrix matrix() const { return TransformationMatrix(m_a, m_b, m_c, m_d, m_e, m_f); } |
private: |
- virtual bool isIdentity() const { return m_a == 1 && m_b == 0 && m_c == 0 && m_d == 1 && m_e == 0 && m_f == 0; } |
+ virtual bool isIdentity() const OVERRIDE { return m_a == 1 && !m_b && !m_c && m_d == 1 && !m_e && !m_f; } |
virtual OperationType type() const OVERRIDE { return Matrix; } |
@@ -58,13 +58,13 @@ private: |
return m_a == m->m_a && m_b == m->m_b && m_c == m->m_c && m_d == m->m_d && m_e == m->m_e && m_f == m->m_f; |
} |
- virtual void apply(TransformationMatrix& transform, const FloatSize&) const |
+ virtual void apply(TransformationMatrix& transform, const FloatSize&) const OVERRIDE |
{ |
TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f); |
transform.multiply(matrix); |
} |
- 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; |
MatrixTransformOperation(double a, double b, double c, double d, double e, double f) |
: m_a(a) |