Index: Source/core/html/shadow/MediaControls.h |
diff --git a/Source/core/html/shadow/MediaControls.h b/Source/core/html/shadow/MediaControls.h |
index 130d03cbafb65c992ada9a58debe2c5cba1d041d..4342ac110d5fff53682ce3acade5a615d8d67766 100644 |
--- a/Source/core/html/shadow/MediaControls.h |
+++ b/Source/core/html/shadow/MediaControls.h |
@@ -50,7 +50,7 @@ class MediaControls : public HTMLDivElement { |
// This function is to be implemented in your port-specific media |
// controls implementation since it will return a child instance. |
- static PassRefPtr<MediaControls> create(Document*); |
+ static PassRefPtr<MediaControls> create(Document&); |
virtual void setMediaController(MediaControllerInterface*); |
@@ -95,7 +95,7 @@ class MediaControls : public HTMLDivElement { |
virtual void updateTextTrackDisplay(); |
protected: |
- explicit MediaControls(Document*); |
+ explicit MediaControls(Document&); |
virtual void defaultEventHandler(Event*); |