Index: Source/core/html/HTMLVideoElement.h |
diff --git a/Source/core/html/HTMLVideoElement.h b/Source/core/html/HTMLVideoElement.h |
index f020ea9bf669e30ae65d0965793939e3849b26ec..99c226ad26a8e20fa19e62a699f0e370e9c22557 100644 |
--- a/Source/core/html/HTMLVideoElement.h |
+++ b/Source/core/html/HTMLVideoElement.h |
@@ -35,8 +35,8 @@ class HTMLImageLoader; |
class HTMLVideoElement FINAL : public HTMLMediaElement { |
public: |
- static PassRefPtr<HTMLVideoElement> create(Document* document) { return create(HTMLNames::videoTag, document, false); } |
- static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document*, bool); |
+ static PassRefPtr<HTMLVideoElement> create(Document& document) { return create(HTMLNames::videoTag, document, false); } |
+ static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document&, bool); |
unsigned width() const; |
unsigned height() const; |
@@ -71,7 +71,7 @@ public: |
KURL posterImageURL() const; |
private: |
- HTMLVideoElement(const QualifiedName&, Document*, bool); |
+ HTMLVideoElement(const QualifiedName&, Document&, bool); |
virtual bool rendererIsNeeded(const NodeRenderingContext&); |
virtual RenderObject* createRenderer(RenderStyle*); |