Bug 1437272 - Drop AnimationEffectReadOnly::IsActiveDurationZero(). r=birtles
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Thu, 08 Mar 2018 18:22:45 +0900
changeset 462152 df6e7f27a1abdbf9f2ab066a24e7e961d8dde01d
parent 462151 c7dc17e67663d65af72e06ed4d7fb00cf7b02a4e
child 462153 c780ba32cec906c772ae81606681db657b0c7687
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs1437272, 1305325
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1437272 - Drop AnimationEffectReadOnly::IsActiveDurationZero(). r=birtles It's no longer used since bug 1305325. https://hg.mozilla.org/integration/autoland/rev/60857c37bcfa MozReview-Commit-ID: JapMYQOTDSv
dom/animation/AnimationEffectReadOnly.h
--- a/dom/animation/AnimationEffectReadOnly.h
+++ b/dom/animation/AnimationEffectReadOnly.h
@@ -46,20 +46,16 @@ public:
   {
     return nullptr;
   }
 
   nsISupports* GetParentObject() const { return mDocument; }
 
   bool IsCurrent() const;
   bool IsInEffect() const;
-  bool IsActiveDurationZero() const
-  {
-    return !SpecifiedTiming().ActiveDuration();
-  }
 
   already_AddRefed<AnimationEffectTimingReadOnly> Timing();
   const TimingParams& SpecifiedTiming() const
   {
     return mTiming->AsTimingParams();
   }
   void SetSpecifiedTiming(const TimingParams& aTiming);