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

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

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/SkewTransformOperation.h
diff --git a/Source/platform/transforms/SkewTransformOperation.h b/Source/platform/transforms/SkewTransformOperation.h
index e31f24b65402ec7b3faef6f28736ad86705d204d..7c19a1586e3ca75e3461a3f260724a36ac93b3b5 100644
--- a/Source/platform/transforms/SkewTransformOperation.h
+++ b/Source/platform/transforms/SkewTransformOperation.h
@@ -41,9 +41,9 @@ public:
virtual bool canBlendWith(const TransformOperation& other) const;
private:
- virtual OperationType type() const override { return m_type; }
+ OperationType type() const override { return m_type; }
- virtual bool operator==(const TransformOperation& o) const override
+ bool operator==(const TransformOperation& o) const override
{
if (!isSameType(o))
return false;
@@ -51,12 +51,12 @@ private:
return m_angleX == s->m_angleX && m_angleY == s->m_angleY;
}
- virtual void apply(TransformationMatrix& transform, const FloatSize&) const override
+ void apply(TransformationMatrix& transform, const FloatSize&) const override
{
transform.skew(m_angleX, m_angleY);
}
- virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
+ PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
SkewTransformOperation(double angleX, double angleY, OperationType type)
: m_angleX(angleX)
« no previous file with comments | « Source/platform/transforms/ScaleTransformOperation.h ('k') | Source/platform/transforms/TranslateTransformOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698