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

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

Issue 2379983002: Remove unused Element parameter in StringKeyframe (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/StringKeyframe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/EffectInput.cpp
diff --git a/third_party/WebKit/Source/core/animation/EffectInput.cpp b/third_party/WebKit/Source/core/animation/EffectInput.cpp
index 6e96572bcd4d18c327f288965507ae19d90559d2..cbfb6a3f4719e04765f46656e6116513abe1ea5b 100644
--- a/third_party/WebKit/Source/core/animation/EffectInput.cpp
+++ b/third_party/WebKit/Source/core/animation/EffectInput.cpp
@@ -83,12 +83,12 @@ void setKeyframeValue(Element& element, StringKeyframe& keyframe, const String&
StyleSheetContents* styleSheetContents = element.document().elementSheet().contents();
CSSPropertyID cssProperty = AnimationInputHelpers::keyframeAttributeToCSSProperty(property, element.document());
if (cssProperty != CSSPropertyInvalid) {
- keyframe.setCSSPropertyValue(cssProperty, value, &element, styleSheetContents);
+ keyframe.setCSSPropertyValue(cssProperty, value, styleSheetContents);
return;
}
cssProperty = AnimationInputHelpers::keyframeAttributeToPresentationAttribute(property, element);
if (cssProperty != CSSPropertyInvalid) {
- keyframe.setPresentationAttributeValue(cssProperty, value, &element, styleSheetContents);
+ keyframe.setPresentationAttributeValue(cssProperty, value, styleSheetContents);
return;
}
const QualifiedName* svgAttribute = AnimationInputHelpers::keyframeAttributeToSVGAttribute(property, element);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/StringKeyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698