summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFontFaceElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFontFaceElement.h')
-rw-r--r--WebCore/svg/SVGFontFaceElement.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/WebCore/svg/SVGFontFaceElement.h b/WebCore/svg/SVGFontFaceElement.h
index 7d1f457..3ee71d8 100644
--- a/WebCore/svg/SVGFontFaceElement.h
+++ b/WebCore/svg/SVGFontFaceElement.h
@@ -33,14 +33,7 @@ namespace WebCore {
class SVGFontFaceElement : public SVGElement {
public:
- SVGFontFaceElement(const QualifiedName&, Document*);
- virtual ~SVGFontFaceElement();
-
- virtual void parseMappedAttribute(Attribute*);
-
- virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
- virtual void insertedIntoDocument();
- virtual void removedFromDocument();
+ static PassRefPtr<SVGFontFaceElement> create(const QualifiedName&, Document*);
unsigned unitsPerEm() const;
int xHeight() const;
@@ -59,6 +52,14 @@ namespace WebCore {
void removeFromMappedElementSheet();
private:
+ SVGFontFaceElement(const QualifiedName&, Document*);
+
+ virtual void parseMappedAttribute(Attribute*);
+
+ virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0);
+ virtual void insertedIntoDocument();
+ virtual void removedFromDocument();
+
RefPtr<CSSFontFaceRule> m_fontFaceRule;
RefPtr<CSSMutableStyleDeclaration> m_styleDeclaration;