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

Unified Diff: Source/core/svg/SVGAnimateColorElement.cpp

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/SVGAnimateColorElement.h ('k') | Source/core/svg/SVGAnimateElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimateColorElement.cpp
diff --git a/Source/core/svg/SVGAnimateColorElement.cpp b/Source/core/svg/SVGAnimateColorElement.cpp
index 0b971159d470e08da6d59fd1f8b3e0f289902aca..7e9fd0d7fdd21ba93f049d632a84440d6ef2353a 100644
--- a/Source/core/svg/SVGAnimateColorElement.cpp
+++ b/Source/core/svg/SVGAnimateColorElement.cpp
@@ -26,14 +26,14 @@
namespace WebCore {
-inline SVGAnimateColorElement::SVGAnimateColorElement(const QualifiedName& tagName, Document* document)
+inline SVGAnimateColorElement::SVGAnimateColorElement(const QualifiedName& tagName, Document& document)
: SVGAnimateElement(tagName, document)
{
ASSERT(hasTagName(SVGNames::animateColorTag));
ScriptWrappable::init(this);
}
-PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(const QualifiedName& tagName, Document* document)
+PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(const QualifiedName& tagName, Document& document)
{
return adoptRef(new SVGAnimateColorElement(tagName, document));
}
« no previous file with comments | « Source/core/svg/SVGAnimateColorElement.h ('k') | Source/core/svg/SVGAnimateElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698