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

Unified Diff: Source/platform/transforms/TranslateTransformOperation.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
« no previous file with comments | « Source/platform/transforms/SkewTransformOperation.h ('k') | Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/transforms/TranslateTransformOperation.h
diff --git a/Source/platform/transforms/TranslateTransformOperation.h b/Source/platform/transforms/TranslateTransformOperation.h
index 300e8044d30b6bb5fd37728c7c63355b1bacbf9a..8b9283b4b1d7394272001a9b597c80b2b6293589 100644
--- a/Source/platform/transforms/TranslateTransformOperation.h
+++ b/Source/platform/transforms/TranslateTransformOperation.h
@@ -51,7 +51,7 @@ public:
double z() const { return m_z; }
private:
- virtual bool isIdentity() const { return !floatValueForLength(m_x, 1) && !floatValueForLength(m_y, 1) && !m_z; }
+ virtual bool isIdentity() const OVERRIDE { return !floatValueForLength(m_x, 1) && !floatValueForLength(m_y, 1) && !m_z; }
virtual OperationType type() const OVERRIDE { return m_type; }
@@ -63,12 +63,12 @@ private:
return m_x == t->m_x && m_y == t->m_y && m_z == t->m_z;
}
- virtual void apply(TransformationMatrix& transform, const FloatSize& borderBoxSize) const
+ virtual void apply(TransformationMatrix& transform, const FloatSize& borderBoxSize) const OVERRIDE
{
transform.translate3d(x(borderBoxSize), y(borderBoxSize), 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;
virtual bool dependsOnBoxSize() const OVERRIDE
{
« no previous file with comments | « Source/platform/transforms/SkewTransformOperation.h ('k') | Source/platform/weborigin/KURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698