Index: Source/core/html/HTMLSourceElement.cpp |
diff --git a/Source/core/html/HTMLSourceElement.cpp b/Source/core/html/HTMLSourceElement.cpp |
index 48e15eb33ffb3d9977d151b60226e99dff0c1cba..733ac9987705d55365df10cce55fa26f0d54030a 100644 |
--- a/Source/core/html/HTMLSourceElement.cpp |
+++ b/Source/core/html/HTMLSourceElement.cpp |
@@ -38,7 +38,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLSourceElement::HTMLSourceElement(const QualifiedName& tagName, Document* document) |
+inline HTMLSourceElement::HTMLSourceElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
, m_errorEventTimer(this, &HTMLSourceElement::errorEventTimerFired) |
{ |
@@ -47,7 +47,7 @@ inline HTMLSourceElement::HTMLSourceElement(const QualifiedName& tagName, Docume |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLSourceElement> HTMLSourceElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLSourceElement> HTMLSourceElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLSourceElement(tagName, document)); |
} |