summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h b/chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h
index 0bccf802d6c..e58051e2a09 100644
--- a/chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h
+++ b/chromium/third_party/WebKit/Source/core/svg/SVGMPathElement.h
@@ -20,11 +20,10 @@
#ifndef SVGMPathElement_h
#define SVGMPathElement_h
-#include "SVGNames.h"
+#include "core/SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedString.h"
#include "core/svg/SVGElement.h"
-#include "core/svg/SVGExternalResourcesRequired.h"
#include "core/svg/SVGURIReference.h"
namespace WebCore {
@@ -32,10 +31,9 @@ namespace WebCore {
class SVGPathElement;
class SVGMPathElement FINAL : public SVGElement,
- public SVGURIReference,
- public SVGExternalResourcesRequired {
+ public SVGURIReference {
public:
- static PassRefPtr<SVGMPathElement> create(Document&);
+ DECLARE_NODE_FACTORY(SVGMPathElement);
virtual ~SVGMPathElement();
@@ -46,10 +44,10 @@ public:
private:
explicit SVGMPathElement(Document&);
- void buildPendingResource();
+ virtual void buildPendingResource() OVERRIDE;
void clearResourceReferences();
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
- void removedFrom(ContainerNode*);
+ virtual void removedFrom(ContainerNode*) OVERRIDE;
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
@@ -58,14 +56,8 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
void notifyParentOfPathChange(ContainerNode*);
- BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement)
- DECLARE_ANIMATED_STRING(Href, href)
- DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
- END_DECLARE_ANIMATED_PROPERTIES
};
-DEFINE_NODE_TYPE_CASTS(SVGMPathElement, hasTagName(SVGNames::mpathTag));
-
} // namespace WebCore
#endif // SVGMPathElement_h