diff options
Diffstat (limited to 'Source/WebCore/svg/properties/SVGPropertyInfo.h')
-rw-r--r-- | Source/WebCore/svg/properties/SVGPropertyInfo.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Source/WebCore/svg/properties/SVGPropertyInfo.h b/Source/WebCore/svg/properties/SVGPropertyInfo.h index 54778ee9e..165f9b5b7 100644 --- a/Source/WebCore/svg/properties/SVGPropertyInfo.h +++ b/Source/WebCore/svg/properties/SVGPropertyInfo.h @@ -17,12 +17,9 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGPropertyInfo_h -#define SVGPropertyInfo_h +#pragma once -#if ENABLE(SVG) #include "QualifiedName.h" -#include <wtf/PassRefPtr.h> namespace WebCore { @@ -59,7 +56,7 @@ struct SVGPropertyInfo { WTF_MAKE_FAST_ALLOCATED; public: typedef void (*SynchronizeProperty)(SVGElement*); - typedef PassRefPtr<SVGAnimatedProperty> (*LookupOrCreateWrapperForAnimatedProperty)(SVGElement*); + typedef Ref<SVGAnimatedProperty> (*LookupOrCreateWrapperForAnimatedProperty)(SVGElement*); SVGPropertyInfo(AnimatedPropertyType newType, AnimatedPropertyState newState, const QualifiedName& newAttributeName, const AtomicString& newPropertyIdentifier, SynchronizeProperty newSynchronizeProperty, @@ -73,7 +70,4 @@ public: LookupOrCreateWrapperForAnimatedProperty lookupOrCreateWrapperForAnimatedProperty; }; -} - -#endif // ENABLE(SVG) -#endif // SVGPropertyInfo_h +} // namespace WebCore |