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; |