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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.cpp

Issue 2369833002: Introduce KeyframeEffectReadOnly interface (Closed)
Patch Set: Update references to Priority, response to review 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
Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
index dacddb325e44aeb7bc36b7d7c06a9ecf759f8bb1..cf78f5f1e19f20a74fe21a3ca192b3b7638bd141 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
@@ -32,6 +32,7 @@
#include "core/animation/ElementAnimations.h"
#include "core/animation/InterpolationEnvironment.h"
#include "core/animation/InvalidatableInterpolation.h"
+#include "core/animation/KeyframeEffectReadOnly.h"
#include "core/css/CSSCursorImageValue.h"
#include "core/css/resolver/StyleResolver.h"
#include "core/dom/Document.h"
@@ -227,7 +228,7 @@ static bool isSVGAttributeHandle(const PropertyHandle& propertyHandle)
void SVGElement::applyActiveWebAnimations()
{
ActiveInterpolationsMap activeInterpolationsMap = AnimationStack::activeInterpolations(
- &elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffect::DefaultPriority, isSVGAttributeHandle);
+ &elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffectReadOnly::DefaultPriority, isSVGAttributeHandle);
for (auto& entry : activeInterpolationsMap) {
const QualifiedName& attribute = entry.key.svgAttribute();
InterpolationEnvironment environment(*this, propertyFromAttribute(attribute)->baseValueBase());

Powered by Google App Engine
This is Rietveld 408576698