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

Unified Diff: Source/platform/transforms/PerspectiveTransformOperation.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/PerspectiveTransformOperation.h
diff --git a/Source/platform/transforms/PerspectiveTransformOperation.h b/Source/platform/transforms/PerspectiveTransformOperation.h
index 24dd7060412480608f3bd45d70cce06371d34e06..81c60799099c39528b6dc29e08504658679dbd2a 100644
--- a/Source/platform/transforms/PerspectiveTransformOperation.h
+++ b/Source/platform/transforms/PerspectiveTransformOperation.h
@@ -40,7 +40,7 @@ public:
double perspective() const { return m_p; }
private:
- virtual bool isIdentity() const { return !m_p; }
+ virtual bool isIdentity() const OVERRIDE { return !m_p; }
virtual OperationType type() const OVERRIDE { return Perspective; }
virtual bool operator==(const TransformOperation& o) const
@@ -51,12 +51,12 @@ private:
return m_p == p->m_p;
}
- virtual void apply(TransformationMatrix& transform, const FloatSize&) const
+ virtual void apply(TransformationMatrix& transform, const FloatSize&) const OVERRIDE
{
transform.applyPerspective(m_p);
}
- 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;
PerspectiveTransformOperation(double p)
: m_p(p)
« no previous file with comments | « Source/platform/transforms/MatrixTransformOperation.h ('k') | Source/platform/transforms/RotateTransformOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698