Index: Source/core/animation/EffectInput.cpp |
diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp |
index 2f87c28e668d7f864803948083a75f07a80e13f9..c92a32219ab774b6b853f43e5412a3c68bd9d0cc 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; |
Vector<RefPtr<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); |
} |
} |