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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h

Issue 1698213002: Blink Compositor: Erase virtuals on Transform and Filter operations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move AnimationTranslationUtil to platform. Created 4 years, 10 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: third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
diff --git a/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h b/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
index 63be7152ff60b34d319890d2d5e408ec38863b51..d21d11b6586f53964dea51acbc876b71b029adc7 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
+++ b/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
@@ -17,24 +17,23 @@ class PLATFORM_EXPORT CompositorTransformOperations {
WTF_MAKE_NONCOPYABLE(CompositorTransformOperations);
public:
CompositorTransformOperations();
- virtual ~CompositorTransformOperations();
const cc::TransformOperations& asTransformOperations() const;
// Returns true if these operations can be blended. It will only return
// false if we must resort to matrix interpolation, and matrix interpolation
// fails (this can happen if either matrix cannot be decomposed).
- virtual bool canBlendWith(const CompositorTransformOperations& other) const;
+ bool canBlendWith(const CompositorTransformOperations& other) const;
- virtual void appendTranslate(double x, double y, double z);
- virtual void appendRotate(double x, double y, double z, double degrees);
- virtual void appendScale(double x, double y, double z);
- virtual void appendSkew(double x, double y);
- virtual void appendPerspective(double depth);
- virtual void appendMatrix(const SkMatrix44&);
- virtual void appendIdentity();
+ void appendTranslate(double x, double y, double z);
+ void appendRotate(double x, double y, double z, double degrees);
+ void appendScale(double x, double y, double z);
+ void appendSkew(double x, double y);
+ void appendPerspective(double depth);
+ void appendMatrix(const SkMatrix44&);
+ void appendIdentity();
- virtual bool isIdentity() const;
+ bool isIdentity() const;
private:
cc::TransformOperations m_transformOperations;

Powered by Google App Engine
This is Rietveld 408576698