diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/svg/properties/SVGPropertyInfo.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
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 |