Chromium Code Reviews

Unified Diff: Source/core/svg/SVGAltGlyphItemElement.h

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests build Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/svg/SVGAltGlyphItemElement.h
diff --git a/Source/core/svg/SVGAltGlyphItemElement.h b/Source/core/svg/SVGAltGlyphItemElement.h
index 8d228130ce9a7304384729e7535f7aab7a8f21f0..7004210919dd71e4f73079646cc4f6e17185e9e1 100644
--- a/Source/core/svg/SVGAltGlyphItemElement.h
+++ b/Source/core/svg/SVGAltGlyphItemElement.h
@@ -28,12 +28,12 @@ namespace WebCore {
class SVGAltGlyphItemElement FINAL : public SVGElement {
public:
- static PassRefPtr<SVGAltGlyphItemElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<SVGAltGlyphItemElement> create(const QualifiedName&, Document&);
bool hasValidGlyphElements(Vector<String>& glyphNames) const;
private:
- SVGAltGlyphItemElement(const QualifiedName&, Document*);
+ SVGAltGlyphItemElement(const QualifiedName&, Document&);
virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE { return false; }
};

Powered by Google App Engine