Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: Source/core/html/shadow/MediaControlElementTypes.h

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/shadow/HTMLShadowElement.cpp ('k') | Source/core/html/shadow/MediaControlElementTypes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/html/shadow/HTMLShadowElement.cpp ('k') | Source/core/html/shadow/MediaControlElementTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698