| Index: Source/core/animation/EffectInput.cpp
|
| diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp
|
| index b2da1f19795ad1a1980495657caea75c33903a12..0d132da1318ed0efffd34064dafe7016942d8260 100644
|
| --- a/Source/core/animation/EffectInput.cpp
|
| +++ b/Source/core/animation/EffectInput.cpp
|
| @@ -55,6 +55,8 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c
|
| if (!unsafe && !checkDocumentAndRenderer(element))
|
| return nullptr;
|
|
|
| + StyleSheetContents* styleSheetContents = element->document().elementSheet().contents();
|
| +
|
| // FIXME: Move this code into KeyframeEffectModel, it will be used by the IDL constructor for that class.
|
| KeyframeEffectModel::KeyframeVector keyframes;
|
| WillBeHeapVector<RefPtrWillBeMember<MutableStylePropertySet> > propertySetVector;
|
| @@ -99,7 +101,7 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c
|
|
|
| String value;
|
| keyframeDictionaryVector[i].get(property, value);
|
| - propertySet->setProperty(id, value);
|
| + propertySet->setProperty(id, value, false, styleSheetContents);
|
| }
|
| }
|
|
|
|
|