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

Unified Diff: Source/core/html/shadow/MediaControls.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/MediaControlElements.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*);
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698