Index: Source/core/html/HTMLTrackElement.h |
diff --git a/Source/core/html/HTMLTrackElement.h b/Source/core/html/HTMLTrackElement.h |
index c75cb698264d6f085c56a41ce924ddcc90662df0..6e267a3114c69963de63005ac707f4a8c6f6970f 100644 |
--- a/Source/core/html/HTMLTrackElement.h |
+++ b/Source/core/html/HTMLTrackElement.h |
@@ -36,7 +36,7 @@ class HTMLMediaElement; |
class HTMLTrackElement FINAL : public HTMLElement, public TextTrackClient { |
public: |
- static PassRefPtr<HTMLTrackElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<HTMLTrackElement> create(const QualifiedName&, Document&); |
KURL src() const; |
void setSrc(const String&); |
@@ -67,7 +67,7 @@ public: |
const AtomicString& mediaElementCrossOriginAttribute() const; |
private: |
- HTMLTrackElement(const QualifiedName&, Document*); |
+ HTMLTrackElement(const QualifiedName&, Document&); |
virtual ~HTMLTrackElement(); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |