| Index: Source/core/svg/SVGTests.h
|
| diff --git a/Source/core/svg/SVGTests.h b/Source/core/svg/SVGTests.h
|
| index 7df0e223f1bb430cfa6b58e05e56657c2bf7f87d..f60b83f9e17073434123535e93dde7607a312a58 100644
|
| --- a/Source/core/svg/SVGTests.h
|
| +++ b/Source/core/svg/SVGTests.h
|
| @@ -21,8 +21,7 @@
|
| #ifndef SVGTests_h
|
| #define SVGTests_h
|
|
|
| -#include "core/svg/SVGStringList.h"
|
| -#include "core/svg/properties/SVGAnimatedPropertyMacros.h"
|
| +#include "core/svg/SVGStaticStringList.h"
|
| #include "wtf/HashSet.h"
|
|
|
| namespace WebCore {
|
| @@ -33,9 +32,9 @@ class SVGElement;
|
|
|
| class SVGTests {
|
| public:
|
| - SVGStringList& requiredFeatures();
|
| - SVGStringList& requiredExtensions();
|
| - SVGStringList& systemLanguage();
|
| + SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOff(); }
|
| + SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->tearOff(); }
|
| + SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff(); }
|
|
|
| bool hasExtension(const String&) const;
|
| bool isValid() const;
|
| @@ -45,27 +44,13 @@ public:
|
|
|
| void addSupportedAttributes(HashSet<QualifiedName>&);
|
|
|
| - static SVGAttributeToPropertyMap& attributeToPropertyMap();
|
| -
|
| protected:
|
| - SVGTests();
|
| -
|
| - void synchronizeRequiredFeatures(SVGElement* contextElement);
|
| - void synchronizeRequiredExtensions(SVGElement* contextElement);
|
| - void synchronizeSystemLanguage(SVGElement* contextElement);
|
| + SVGTests(SVGElement* contextElement);
|
|
|
| private:
|
| - // Custom 'requiredFeatures' property
|
| - static const SVGPropertyInfo* requiredFeaturesPropertyInfo();
|
| - SVGSynchronizableAnimatedProperty<SVGStringList> m_requiredFeatures;
|
| -
|
| - // Custom 'requiredExtensions' property
|
| - static const SVGPropertyInfo* requiredExtensionsPropertyInfo();
|
| - SVGSynchronizableAnimatedProperty<SVGStringList> m_requiredExtensions;
|
| -
|
| - // Custom 'systemLanguage' property
|
| - static const SVGPropertyInfo* systemLanguagePropertyInfo();
|
| - SVGSynchronizableAnimatedProperty<SVGStringList> m_systemLanguage;
|
| + RefPtr<SVGStaticStringList> m_requiredFeatures;
|
| + RefPtr<SVGStaticStringList> m_requiredExtensions;
|
| + RefPtr<SVGStaticStringList> m_systemLanguage;
|
| };
|
|
|
| } // namespace WebCore
|
|
|