Index: Source/core/svg/SVGFontElement.h |
diff --git a/Source/core/svg/SVGFontElement.h b/Source/core/svg/SVGFontElement.h |
index 1d3b570a1c1cd6dbb98ca5bef3fbb12206b6f122..1737f1eebb3425eb594781e3c1f927f4a9706bb1 100644 |
--- a/Source/core/svg/SVGFontElement.h |
+++ b/Source/core/svg/SVGFontElement.h |
@@ -55,7 +55,7 @@ class SVGMissingGlyphElement; |
class SVGFontElement FINAL : public SVGElement |
, public SVGExternalResourcesRequired { |
public: |
- static PassRefPtr<SVGFontElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<SVGFontElement> create(const QualifiedName&, Document&); |
void invalidateGlyphCache(); |
void collectGlyphsForString(const String&, Vector<SVGGlyph>&); |
@@ -71,7 +71,7 @@ public: |
SVGMissingGlyphElement* firstMissingGlyphElement() const; |
private: |
- SVGFontElement(const QualifiedName&, Document*); |
+ SVGFontElement(const QualifiedName&, Document&); |
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } |