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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h

Issue 1739533004: Fix synchronization of SVGAnimatedAngle (<marker orient>) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows compilation fix Created 4 years, 10 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/SVGAnimatedAngle.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h b/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h
index fd6d86712ffb3556698a3a4586bee36fec5e18ab..4fcc1e39636df1ebaec5d880fd975d87bd1db39d 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h
@@ -37,12 +37,10 @@
namespace blink {
-class SVGMarkerElement;
-
class SVGAnimatedAngle final : public SVGAnimatedProperty<SVGAngle> {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<SVGAnimatedAngle> create(SVGMarkerElement* contextElement)
+ static PassRefPtrWillBeRawPtr<SVGAnimatedAngle> create(SVGElement* contextElement)
{
return adoptRefWillBeNoop(new SVGAnimatedAngle(contextElement));
}
@@ -52,7 +50,7 @@ public:
SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientType.get(); }
// SVGAnimatedPropertyBase:
-
+ bool needsSynchronizeAttribute() override;
void synchronizeAttribute() override;
void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) override;
@@ -61,7 +59,7 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- explicit SVGAnimatedAngle(SVGMarkerElement* contextElement);
+ explicit SVGAnimatedAngle(SVGElement* contextElement);
private:
RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerOrientType>> m_orientType;

Powered by Google App Engine
This is Rietveld 408576698