Bug 1078122 part 4 - Make the mSource and mTimeline members of AnimationPlayer protected; r=dholbert
authorBrian Birtles <birtles@gmail.com>
Mon, 20 Oct 2014 13:55:46 +0900
changeset 211089 93c56f764bc31ea07df24baa8f6fa6e83df79658
parent 211088 d54306da529f6918f79a9e43c5e0a61883cee453
child 211090 4d628be8f7d031c0514df23fb7b1caec4f335410
push id50643
push userbbirtles@mozilla.com
push dateMon, 20 Oct 2014 04:56:41 +0000
treeherdermozilla-inbound@b3b581cda940 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1078122
milestone36.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 1078122 part 4 - Make the mSource and mTimeline members of AnimationPlayer protected; r=dholbert
dom/animation/AnimationPlayer.h
--- a/dom/animation/AnimationPlayer.h
+++ b/dom/animation/AnimationPlayer.h
@@ -113,24 +113,23 @@ public:
   // is running and has source content to sample).
   void ComposeStyle(nsRefPtr<css::AnimValuesStyleRule>& aStyleRule,
                     nsCSSPropertySet& aSetProperties,
                     bool& aNeedsRefreshes);
 
   // The beginning of the delay period.
   Nullable<TimeDuration> mStartTime; // Timeline timescale
 
-  nsRefPtr<AnimationTimeline> mTimeline;
-  nsRefPtr<Animation> mSource;
-
 protected:
   void FlushStyle() const;
   void MaybePostRestyle() const;
   StickyTimeDuration SourceContentEnd() const;
 
+  nsRefPtr<AnimationTimeline> mTimeline;
+  nsRefPtr<Animation> mSource;
   Nullable<TimeDuration> mHoldTime;  // Player timescale
   bool mIsPaused;
   bool mIsRunningOnCompositor;
 };
 
 } // namespace dom
 
 class CSSAnimationPlayer MOZ_FINAL : public dom::AnimationPlayer