Bug 1355348 - Add constructor to AnimationValue; r=hiro
We will use this later in this patch series to simplify the creation of SMIL's ValueWrapper objects. MozReview-Commit-ID: 7EF9CN2SdwQ
This commit is contained in:
@@ -570,6 +570,12 @@ private:
|
||||
|
||||
struct AnimationValue
|
||||
{
|
||||
explicit AnimationValue(const StyleAnimationValue& aValue)
|
||||
: mGecko(aValue) { }
|
||||
explicit AnimationValue(const RefPtr<RawServoAnimationValue>& aValue)
|
||||
: mServo(aValue) { }
|
||||
AnimationValue() = default;
|
||||
|
||||
// mGecko and mServo are mutually exclusive: only one or the other should
|
||||
// ever be set.
|
||||
// FIXME: After obsoleting StyleAnimationValue, we should remove mGecko, and
|
||||
|
||||
Reference in New Issue
Block a user