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

Unified Diff: Source/core/html/track/TextTrackCue.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/TextControlInnerElements.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCue.h
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h
index 82efa89f62e6658a59f44d962468c72c6efea585..61fd4500ce6c1eef4726bf0b9b1fb90ac2cf1f21 100644
--- a/Source/core/html/track/TextTrackCue.h
+++ b/Source/core/html/track/TextTrackCue.h
@@ -49,7 +49,7 @@ class TextTrackCue;
class TextTrackCueBox : public HTMLDivElement {
public:
- static PassRefPtr<TextTrackCueBox> create(Document* document, TextTrackCue* cue)
+ static PassRefPtr<TextTrackCueBox> create(Document& document, TextTrackCue* cue)
{
return adoptRef(new TextTrackCueBox(document, cue));
}
@@ -60,7 +60,7 @@ public:
static const AtomicString& textTrackCueBoxShadowPseudoId();
protected:
- TextTrackCueBox(Document*, TextTrackCue*);
+ TextTrackCueBox(Document&, TextTrackCue*);
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
« no previous file with comments | « Source/core/html/shadow/TextControlInnerElements.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698