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

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

Issue 131003004: Update platform classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/ScaleTransformOperation.h
diff --git a/Source/platform/transforms/ScaleTransformOperation.h b/Source/platform/transforms/ScaleTransformOperation.h
index bcc93eeffb8add85e890499133a157a53e01471f..46dbe2c819d61149077802d2dee81680926438e9 100644
--- a/Source/platform/transforms/ScaleTransformOperation.h
+++ b/Source/platform/transforms/ScaleTransformOperation.h
@@ -46,7 +46,7 @@ public:
double z() const { return m_z; }
private:
- virtual bool isIdentity() const { return m_x == 1 && m_y == 1 && m_z == 1; }
+ virtual bool isIdentity() const OVERRIDE { return m_x == 1 && m_y == 1 && m_z == 1; }
virtual OperationType type() const OVERRIDE { return m_type; }
@@ -58,12 +58,12 @@ private:
return m_x == s->m_x && m_y == s->m_y && m_z == s->m_z;
}
- virtual void apply(TransformationMatrix& transform, const FloatSize&) const
+ virtual void apply(TransformationMatrix& transform, const FloatSize&) const OVERRIDE
{
transform.scale3d(m_x, m_y, m_z);
}
- 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;
ScaleTransformOperation(double sx, double sy, double sz, OperationType type)
: m_x(sx)
« no previous file with comments | « Source/platform/transforms/RotateTransformOperation.h ('k') | Source/platform/transforms/SkewTransformOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698