OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann |
3 * <zimmermann@kde.org> | 3 * <zimmermann@kde.org> |
4 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 6 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
7 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 } | 225 } |
226 | 226 |
227 static bool isSVGAttributeHandle(const PropertyHandle& propertyHandle) { | 227 static bool isSVGAttributeHandle(const PropertyHandle& propertyHandle) { |
228 return propertyHandle.isSVGAttribute(); | 228 return propertyHandle.isSVGAttribute(); |
229 } | 229 } |
230 | 230 |
231 void SVGElement::applyActiveWebAnimations() { | 231 void SVGElement::applyActiveWebAnimations() { |
232 ActiveInterpolationsMap activeInterpolationsMap = | 232 ActiveInterpolationsMap activeInterpolationsMap = |
233 AnimationStack::activeInterpolations( | 233 AnimationStack::activeInterpolations( |
234 &elementAnimations()->animationStack(), nullptr, nullptr, | 234 &elementAnimations()->animationStack(), nullptr, nullptr, |
235 KeyframeEffect::DefaultPriority, isSVGAttributeHandle); | 235 KeyframeEffectReadOnly::DefaultPriority, isSVGAttributeHandle); |
236 for (auto& entry : activeInterpolationsMap) { | 236 for (auto& entry : activeInterpolationsMap) { |
237 const QualifiedName& attribute = entry.key.svgAttribute(); | 237 const QualifiedName& attribute = entry.key.svgAttribute(); |
238 InterpolationEnvironment environment( | 238 InterpolationEnvironment environment( |
239 *this, propertyFromAttribute(attribute)->baseValueBase()); | 239 *this, propertyFromAttribute(attribute)->baseValueBase()); |
240 InvalidatableInterpolation::applyStack(entry.value, environment); | 240 InvalidatableInterpolation::applyStack(entry.value, environment); |
241 } | 241 } |
242 svgRareData()->setWebAnimatedAttributesDirty(false); | 242 svgRareData()->setWebAnimatedAttributesDirty(false); |
243 } | 243 } |
244 | 244 |
245 static inline void notifyAnimValChanged(SVGElement* targetElement, | 245 static inline void notifyAnimValChanged(SVGElement* targetElement, |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 visitor->trace(m_className); | 1230 visitor->trace(m_className); |
1231 Element::trace(visitor); | 1231 Element::trace(visitor); |
1232 } | 1232 } |
1233 | 1233 |
1234 const AtomicString& SVGElement::eventParameterName() { | 1234 const AtomicString& SVGElement::eventParameterName() { |
1235 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); | 1235 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); |
1236 return evtString; | 1236 return evtString; |
1237 } | 1237 } |
1238 | 1238 |
1239 } // namespace blink | 1239 } // namespace blink |
OLD | NEW |