Title: [90681] trunk/Source/WebCore
- Revision
- 90681
- Author
- [email protected]
- Date
- 2011-07-09 07:35:13 -0700 (Sat, 09 Jul 2011)
Log Message
2011-07-09 Nikolas Zimmermann <[email protected]>
Add a possibility to retrieve the associated SVGAnimatedProperty object for a certain XML attribute
https://bugs.webkit.org/show_bug.cgi?id=63797
Fix WinCE build. Funny none other platform complained.
* svg/properties/SVGAnimatedStaticPropertyTearOff.h: Make create public, SVGAnimatedProperty needs it - remove friendship with it.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (90680 => 90681)
--- trunk/Source/WebCore/ChangeLog 2011-07-09 11:26:10 UTC (rev 90680)
+++ trunk/Source/WebCore/ChangeLog 2011-07-09 14:35:13 UTC (rev 90681)
@@ -3,6 +3,15 @@
Add a possibility to retrieve the associated SVGAnimatedProperty object for a certain XML attribute
https://bugs.webkit.org/show_bug.cgi?id=63797
+ Fix WinCE build. Funny none other platform complained.
+
+ * svg/properties/SVGAnimatedStaticPropertyTearOff.h: Make create public, SVGAnimatedProperty needs it - remove friendship with it.
+
+2011-07-09 Nikolas Zimmermann <[email protected]>
+
+ Add a possibility to retrieve the associated SVGAnimatedProperty object for a certain XML attribute
+ https://bugs.webkit.org/show_bug.cgi?id=63797
+
Reviewed by Dirk Schulze.
In order to prepare animVal support we need a way to map a given SVG DOM attribute to a SVGAnimatedProperty.
Modified: trunk/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h (90680 => 90681)
--- trunk/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h 2011-07-09 11:26:10 UTC (rev 90680)
+++ trunk/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h 2011-07-09 14:35:13 UTC (rev 90681)
@@ -48,15 +48,13 @@
// FIXME: No animVal support.
void setAnimVal(const PropertyType&) { }
-protected:
- friend class SVGAnimatedProperty;
-
static PassRefPtr<SVGAnimatedStaticPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedStaticPropertyTearOff<PropertyType>(contextElement, attributeName, property));
}
+protected:
SVGAnimatedStaticPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property)
: SVGAnimatedProperty(contextElement, attributeName)
, m_property(property)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes