diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.h b/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.h index 8b9394278c3..069509a2f6b 100644 --- a/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.h +++ b/chromium/third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.h @@ -21,7 +21,7 @@ #define SVGFontFaceNameElement_h #if ENABLE(SVG_FONTS) -#include "SVGNames.h" +#include "core/SVGNames.h" #include "core/svg/SVGElement.h" namespace WebCore { @@ -30,9 +30,9 @@ class CSSFontFaceSrcValue; class SVGFontFaceNameElement FINAL : public SVGElement { public: - static PassRefPtr<SVGFontFaceNameElement> create(Document&); + DECLARE_NODE_FACTORY(SVGFontFaceNameElement); - PassRefPtr<CSSFontFaceSrcValue> srcValue() const; + PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> srcValue() const; private: explicit SVGFontFaceNameElement(Document&); @@ -40,8 +40,6 @@ private: virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } }; -DEFINE_NODE_TYPE_CASTS(SVGFontFaceNameElement, hasTagName(SVGNames::font_face_nameTag)); - } // namespace WebCore #endif // ENABLE(SVG_FONTS) |