Index: Source/core/html/HTMLTrackElement.cpp |
diff --git a/Source/core/html/HTMLTrackElement.cpp b/Source/core/html/HTMLTrackElement.cpp |
index 4b55f78ff52e4ccc999aa3e8d520db91ecbfb5d6..dfbbc45d041c332160f215fa60f153c9aa7df443 100644 |
--- a/Source/core/html/HTMLTrackElement.cpp |
+++ b/Source/core/html/HTMLTrackElement.cpp |
@@ -51,7 +51,7 @@ static String urlForLoggingTrack(const KURL& url) |
} |
#endif |
-inline HTMLTrackElement::HTMLTrackElement(const QualifiedName& tagName, Document* document) |
+inline HTMLTrackElement::HTMLTrackElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
, m_loadTimer(this, &HTMLTrackElement::loadTimerFired) |
{ |
@@ -66,7 +66,7 @@ HTMLTrackElement::~HTMLTrackElement() |
m_track->clearClient(); |
} |
-PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLTrackElement(tagName, document)); |
} |