| Index: Source/core/svg/SVGTransformListTearOff.h
|
| diff --git a/Source/core/svg/SVGPointListTearOff.h b/Source/core/svg/SVGTransformListTearOff.h
|
| similarity index 64%
|
| copy from Source/core/svg/SVGPointListTearOff.h
|
| copy to Source/core/svg/SVGTransformListTearOff.h
|
| index c7a6319b327559ba5e39c6b725ebc8946b6bc677..5e723b2d5fa3fe96f32654ea4eb4d78dcd89d70a 100644
|
| --- a/Source/core/svg/SVGPointListTearOff.h
|
| +++ b/Source/core/svg/SVGTransformListTearOff.h
|
| @@ -28,31 +28,33 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef SVGPointListTearOff_h
|
| -#define SVGPointListTearOff_h
|
| +#ifndef SVGTransformListTearOff_h
|
| +#define SVGTransformListTearOff_h
|
|
|
| -#include "core/svg/SVGPointList.h"
|
| +#include "core/svg/SVGTransformList.h"
|
| +#include "core/svg/SVGTransformTearOff.h"
|
| #include "core/svg/properties/NewSVGListPropertyTearOffHelper.h"
|
|
|
| namespace WebCore {
|
|
|
| -class SVGPointListTearOff FINAL :
|
| - public NewSVGListPropertyTearOffHelper<SVGPointListTearOff, SVGPointList>,
|
| +class SVGTransformListTearOff FINAL :
|
| + public NewSVGListPropertyTearOffHelper<SVGTransformListTearOff, SVGTransformList>,
|
| public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<SVGPointListTearOff> create(PassRefPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
|
| + static PassRefPtr<SVGTransformListTearOff> create(PassRefPtr<SVGTransformList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
|
| {
|
| - return adoptRef(new SVGPointListTearOff(target, contextElement, propertyIsAnimVal, attributeName));
|
| + return adoptRef(new SVGTransformListTearOff(target, contextElement, propertyIsAnimVal, attributeName));
|
| }
|
|
|
| + virtual ~SVGTransformListTearOff();
|
| +
|
| + PassRefPtr<SVGTransformTearOff> createSVGTransformFromMatrix(PassRefPtr<SVGMatrixTearOff>) const;
|
| + PassRefPtr<SVGTransformTearOff> consolidate(ExceptionState&);
|
| +
|
| private:
|
| - SVGPointListTearOff(PassRefPtr<SVGPointList> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
|
| - : NewSVGListPropertyTearOffHelper<SVGPointListTearOff, SVGPointList>(target, contextElement, propertyIsAnimVal, attributeName)
|
| - {
|
| - ScriptWrappable::init(this);
|
| - }
|
| + SVGTransformListTearOff(PassRefPtr<SVGTransformList>, SVGElement*, PropertyIsAnimValType, const QualifiedName&);
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // SVGPointListTearOff_h_
|
| +#endif // SVGTransformListTearOff_h_
|
|
|