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

Unified Diff: sky/engine/core/animation/animatable/AnimatableLength.h

Issue 711203002: Remove zoom() and effectiveZoom(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/animation/animatable/AnimatableLength.h
diff --git a/sky/engine/core/animation/animatable/AnimatableLength.h b/sky/engine/core/animation/animatable/AnimatableLength.h
index ddc9981e50080451a9bd4f35e5766bd4c36dc7c8..827dd40a436c7af1602d143b45ea1e570452a0e8 100644
--- a/sky/engine/core/animation/animatable/AnimatableLength.h
+++ b/sky/engine/core/animation/animatable/AnimatableLength.h
@@ -38,11 +38,11 @@ namespace blink {
class AnimatableLength final : public AnimatableValue {
public:
- static PassRefPtr<AnimatableLength> create(const Length& length, float zoom)
+ static PassRefPtr<AnimatableLength> create(const Length& length)
{
- return adoptRef(new AnimatableLength(length, zoom));
+ return adoptRef(new AnimatableLength(length));
}
- Length length(float zoom, ValueRange) const;
+ Length length(ValueRange) const;
protected:
virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
@@ -52,7 +52,7 @@ private:
{
return adoptRef(new AnimatableLength(pixels, percent, hasPixels, hasPercent));
}
- AnimatableLength(const Length&, float zoom);
+ AnimatableLength(const Length&);
AnimatableLength(double pixels, double percent, bool hasPixels, bool hasPercent)
: m_pixels(pixels)
, m_percent(percent)
« no previous file with comments | « sky/engine/core/animation/KeyframeEffectModelTest.cpp ('k') | sky/engine/core/animation/animatable/AnimatableLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698