Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

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

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGTitleElement.cpp ('k') | Source/core/svg/SVGUnknownElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUnknownElement.h
diff --git a/Source/core/svg/SVGUnknownElement.h b/Source/core/svg/SVGUnknownElement.h
index fe8d7e4dbe5dee0d8ab8123998113a7436b78e85..9c8518cfc60b4b73ea3aa5aef563dfa5b23aee5f 100644
--- a/Source/core/svg/SVGUnknownElement.h
+++ b/Source/core/svg/SVGUnknownElement.h
@@ -43,13 +43,13 @@ namespace WebCore {
// false to make sure we don't attempt to render such elements.
class SVGUnknownElement : public SVGElement {
public:
- static PassRefPtr<SVGUnknownElement> create(const QualifiedName& tagName, Document* document)
+ static PassRefPtr<SVGUnknownElement> create(const QualifiedName& tagName, Document& document)
{
return adoptRef(new SVGUnknownElement(tagName, document));
}
private:
- SVGUnknownElement(const QualifiedName&, Document*);
+ SVGUnknownElement(const QualifiedName&, Document&);
virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE { return false; }
};
« no previous file with comments | « Source/core/svg/SVGTitleElement.cpp ('k') | Source/core/svg/SVGUnknownElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698