Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: Source/core/animation/EffectInput.cpp

Issue 203413008: Revert of Web Animations API: Load resources referenced in element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/EffectInput.cpp
diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp
index c92a32219ab774b6b853f43e5412a3c68bd9d0cc..2f87c28e668d7f864803948083a75f07a80e13f9 100644
--- a/Source/core/animation/EffectInput.cpp
+++ b/Source/core/animation/EffectInput.cpp
@@ -55,8 +55,6 @@
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;
@@ -101,7 +99,7 @@
String value;
keyframeDictionaryVector[i].get(property, value);
- propertySet->setProperty(id, value, false, styleSheetContents);
+ propertySet->setProperty(id, value);
}
}
« no previous file with comments | « Source/core/animation/AnimatableValueTestHelper.cpp ('k') | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698