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 211178 93c56f764bc31ea07df24baa8f6fa6e83df79658
parent 211177 d54306da529f6918f79a9e43c5e0a61883cee453
child 211179 4d628be8f7d031c0514df23fb7b1caec4f335410
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersdholbert
bugs1078122
milestone36.0a1
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