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

Unified Diff: Source/platform/transforms/ScaleTransformOperation.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/ScaleTransformOperation.h
diff --git a/Source/platform/transforms/ScaleTransformOperation.h b/Source/platform/transforms/ScaleTransformOperation.h
index 1da33b874927eca94652f5c2cd1c04bf2962eefa..4ea773818574a114c13ad45a3ce9dae513d6992c 100644
--- a/Source/platform/transforms/ScaleTransformOperation.h
+++ b/Source/platform/transforms/ScaleTransformOperation.h
@@ -47,18 +47,18 @@ public:
virtual bool canBlendWith(const TransformOperation& other) const;
- virtual void apply(TransformationMatrix& transform, const FloatSize&) const override
+ 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) override;
+ PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false) override;
static bool isMatchingOperationType(OperationType type) { return type == Scale || type == ScaleX || type == ScaleY || type == ScaleZ || type == Scale3D; }
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;
« 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