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

Unified Diff: Source/core/html/shadow/MediaControlsChromium.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/MediaControls.cpp ('k') | Source/core/html/shadow/MediaControlsChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControlsChromium.h
diff --git a/Source/core/html/shadow/MediaControlsChromium.h b/Source/core/html/shadow/MediaControlsChromium.h
index 3e8b7c7cb8b885490c2ef7abbe9a0c5dfc8a6697..5e3c55e8512579aa3ea161beb2d7340eecf25268 100644
--- a/Source/core/html/shadow/MediaControlsChromium.h
+++ b/Source/core/html/shadow/MediaControlsChromium.h
@@ -34,7 +34,7 @@ namespace WebCore {
class MediaControlsChromium : public MediaControls {
public:
// Called from port-specific parent create function to create custom controls.
- static PassRefPtr<MediaControlsChromium> createControls(Document*);
+ static PassRefPtr<MediaControlsChromium> createControls(Document&);
virtual void setMediaController(MediaControllerInterface*) OVERRIDE;
@@ -51,9 +51,9 @@ public:
virtual void insertTextTrackContainer(PassRefPtr<MediaControlTextTrackContainerElement>);
protected:
- explicit MediaControlsChromium(Document*);
+ explicit MediaControlsChromium(Document&);
- bool initializeControls(Document*);
+ bool initializeControls(Document&);
private:
MediaControlTimeRemainingDisplayElement* m_durationDisplay;
« no previous file with comments | « Source/core/html/shadow/MediaControls.cpp ('k') | Source/core/html/shadow/MediaControlsChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698