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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h

Issue 2602423002: Push attributeName handling down into SVGAnimateElement (Closed)
Patch Set: Remove excess space Created 3 years, 11 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/animation/SVGSMILElement.h
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
index 6f5e99e918d2056abc450673eeaa66a520a37835..13864e0080f82d00f869c0e4f6bbdcd92fee6bce 100644
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
@@ -142,11 +142,12 @@ class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests {
// Sub-classes may need to take action when the target is changed.
virtual void setTargetElement(SVGElement*);
- virtual void setAttributeName(const QualifiedName&);
void schedule();
void unscheduleIfScheduled();
+ QualifiedName m_attributeName;
+
private:
void buildPendingResource() override;
void clearResourceAndEventBaseReferences();
@@ -244,8 +245,6 @@ class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests {
enum ActiveState { Inactive, Active, Frozen };
- QualifiedName m_attributeName;
-
ActiveState determineActiveState(SMILTime elapsed) const;
float calculateAnimationPercentAndRepeat(double elapsed,
unsigned& repeat) const;

Powered by Google App Engine
This is Rietveld 408576698