diff options
Diffstat (limited to 'Source/WebCore/svg/properties/SVGAnimatedPropertyDescription.h')
-rw-r--r-- | Source/WebCore/svg/properties/SVGAnimatedPropertyDescription.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/WebCore/svg/properties/SVGAnimatedPropertyDescription.h b/Source/WebCore/svg/properties/SVGAnimatedPropertyDescription.h index 610fb148d..f1d9a04b0 100644 --- a/Source/WebCore/svg/properties/SVGAnimatedPropertyDescription.h +++ b/Source/WebCore/svg/properties/SVGAnimatedPropertyDescription.h @@ -19,10 +19,8 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGAnimatedPropertyDescription_h -#define SVGAnimatedPropertyDescription_h +#pragma once -#if ENABLE(SVG) #include <wtf/HashMap.h> #include <wtf/text/AtomicString.h> @@ -33,8 +31,8 @@ class SVGElement; struct SVGAnimatedPropertyDescription { // Empty value SVGAnimatedPropertyDescription() - : m_element(0) - , m_attributeName(0) + : m_element(nullptr) + , m_attributeName(nullptr) { } @@ -82,7 +80,4 @@ struct SVGAnimatedPropertyDescriptionHash { struct SVGAnimatedPropertyDescriptionHashTraits : WTF::SimpleClassHashTraits<SVGAnimatedPropertyDescription> { }; -} - -#endif // ENABLE(SVG) -#endif // SVGAnimatedPropertyDescription_h +} // namespace WebCore |