Index: Source/core/html/shadow/MediaControlElementTypes.h |
diff --git a/Source/core/html/shadow/MediaControlElementTypes.h b/Source/core/html/shadow/MediaControlElementTypes.h |
index fb534474035981ac0413c22a3ac647077eaaa348..a2304fd43a1f4c998577781ef68babb93a3ec1ea 100644 |
--- a/Source/core/html/shadow/MediaControlElementTypes.h |
+++ b/Source/core/html/shadow/MediaControlElementTypes.h |
@@ -107,7 +107,7 @@ private: |
class MediaControlDivElement : public HTMLDivElement, public MediaControlElement { |
protected: |
virtual bool isMediaControlElement() const OVERRIDE { return MediaControlElement::isMediaControlElement(); } |
- explicit MediaControlDivElement(Document*, MediaControlElementType); |
+ explicit MediaControlDivElement(Document&, MediaControlElementType); |
}; |
// ---------------------------- |
@@ -115,7 +115,7 @@ protected: |
class MediaControlInputElement : public HTMLInputElement, public MediaControlElement { |
protected: |
virtual bool isMediaControlElement() const OVERRIDE { return MediaControlElement::isMediaControlElement(); } |
- explicit MediaControlInputElement(Document*, MediaControlElementType); |
+ explicit MediaControlInputElement(Document&, MediaControlElementType); |
private: |
virtual void updateDisplayType() { } |
@@ -130,7 +130,7 @@ public: |
double currentValue() const { return m_currentValue; } |
protected: |
- explicit MediaControlTimeDisplayElement(Document*, MediaControlElementType); |
+ explicit MediaControlTimeDisplayElement(Document&, MediaControlElementType); |
private: |
double m_currentValue; |
@@ -145,7 +145,7 @@ public: |
virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
protected: |
- explicit MediaControlMuteButtonElement(Document*, MediaControlElementType); |
+ explicit MediaControlMuteButtonElement(Document&, MediaControlElementType); |
virtual void defaultEventHandler(Event*) OVERRIDE; |
@@ -163,7 +163,7 @@ public: |
void setClearMutedOnUserInteraction(bool); |
protected: |
- explicit MediaControlVolumeSliderElement(Document*); |
+ explicit MediaControlVolumeSliderElement(Document&); |
virtual void defaultEventHandler(Event*) OVERRIDE; |