Diff
Modified: trunk/Source/WebCore/ChangeLog (90683 => 90684)
--- trunk/Source/WebCore/ChangeLog 2011-07-09 19:29:47 UTC (rev 90683)
+++ trunk/Source/WebCore/ChangeLog 2011-07-09 19:40:06 UTC (rev 90684)
@@ -1,3 +1,15 @@
+2011-07-09 Patrick Gansterer <[email protected]>
+
+ Unreviewed WinCE build fix for r90680.
+
+ Repeat the change done in r90681 for all other SVGAnimated*PropertyTearOff.h files.
+
+ * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h: Make create public and remove friendship with SVGAnimatedProperty.
+ * svg/properties/SVGAnimatedListPropertyTearOff.h: Ditto.
+ * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h: Ditto.
+ * svg/properties/SVGAnimatedPropertyTearOff.h: Ditto.
+ * svg/properties/SVGAnimatedTransformListPropertyTearOff.h: Ditto.
+
2011-07-09 Nikolas Zimmermann <[email protected]>
Add a possibility to retrieve the associated SVGAnimatedProperty object for a certain XML attribute
Modified: trunk/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h (90683 => 90684)
--- trunk/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h 2011-07-09 19:29:47 UTC (rev 90683)
+++ trunk/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h 2011-07-09 19:40:06 UTC (rev 90684)
@@ -40,15 +40,13 @@
SVGAnimatedStaticPropertyTearOff<int>::setBaseVal(property, ec);
}
-private:
- friend class SVGAnimatedProperty;
-
static PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<EnumType> > create(SVGElement* contextElement, const QualifiedName& attributeName, EnumType& property)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedEnumerationPropertyTearOff<EnumType>(contextElement, attributeName, reinterpret_cast<int&>(property)));
}
+private:
SVGAnimatedEnumerationPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, int& property)
: SVGAnimatedStaticPropertyTearOff<int>(contextElement, attributeName, property)
{
Modified: trunk/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h (90683 => 90684)
--- trunk/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h 2011-07-09 19:29:47 UTC (rev 90683)
+++ trunk/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h 2011-07-09 19:40:06 UTC (rev 90684)
@@ -82,9 +82,6 @@
PropertyType& values() { return m_values; }
ListWrapperCache& wrappers() { return m_wrappers; }
-private:
- friend class SVGAnimatedProperty;
-
static PassRefPtr<SVGAnimatedListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& values)
{
ASSERT(contextElement);
Modified: trunk/Source/WebCore/svg/properties/SVGAnimatedPathSegListPropertyTearOff.h (90683 => 90684)
--- trunk/Source/WebCore/svg/properties/SVGAnimatedPathSegListPropertyTearOff.h 2011-07-09 19:29:47 UTC (rev 90683)
+++ trunk/Source/WebCore/svg/properties/SVGAnimatedPathSegListPropertyTearOff.h 2011-07-09 19:40:06 UTC (rev 90684)
@@ -51,15 +51,13 @@
return static_pointer_cast<SVGPathSegListPropertyTearOff>(m_baseVal)->removeItemFromList(segment, shouldSynchronizeWrappers);
}
-private:
- friend class SVGAnimatedProperty;
-
static PassRefPtr<SVGAnimatedPathSegListPropertyTearOff> create(SVGElement* contextElement, const QualifiedName& attributeName, SVGPathSegList& values)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedPathSegListPropertyTearOff(contextElement, attributeName, values));
}
+private:
SVGAnimatedPathSegListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, SVGPathSegList& values)
: SVGAnimatedListPropertyTearOff<SVGPathSegList>(contextElement, attributeName, values)
{
Modified: trunk/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h (90683 => 90684)
--- trunk/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h 2011-07-09 19:29:47 UTC (rev 90683)
+++ trunk/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h 2011-07-09 19:40:06 UTC (rev 90684)
@@ -43,22 +43,19 @@
return m_animVal.get();
}
-private:
- friend class SVGAnimatedProperty;
-
static PassRefPtr<SVGAnimatedPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedPropertyTearOff<PropertyType>(contextElement, attributeName, property));
}
+private:
SVGAnimatedPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, PropertyType& property)
: SVGAnimatedProperty(contextElement, attributeName)
, m_property(property)
{
}
-private:
PropertyType& m_property;
RefPtr<SVGProperty> m_baseVal;
Modified: trunk/Source/WebCore/svg/properties/SVGAnimatedTransformListPropertyTearOff.h (90683 => 90684)
--- trunk/Source/WebCore/svg/properties/SVGAnimatedTransformListPropertyTearOff.h 2011-07-09 19:29:47 UTC (rev 90683)
+++ trunk/Source/WebCore/svg/properties/SVGAnimatedTransformListPropertyTearOff.h 2011-07-09 19:40:06 UTC (rev 90684)
@@ -43,15 +43,13 @@
return m_animVal.get();
}
-private:
- friend class SVGAnimatedProperty;
-
static PassRefPtr<SVGAnimatedTransformListPropertyTearOff> create(SVGElement* contextElement, const QualifiedName& attributeName, SVGTransformList& values)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedTransformListPropertyTearOff(contextElement, attributeName, values));
}
+private:
SVGAnimatedTransformListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, SVGTransformList& values)
: SVGAnimatedListPropertyTearOff<SVGTransformList>(contextElement, attributeName, values)
{