Index: Source/core/html/track/InbandTextTrack.cpp |
diff --git a/Source/core/html/track/InbandTextTrack.cpp b/Source/core/html/track/InbandTextTrack.cpp |
index ce05095498b06d1c88107405229a14f24e5e8af8..00e5d60b3337a3a249f66dc85cc6244d06bda667 100644 |
--- a/Source/core/html/track/InbandTextTrack.cpp |
+++ b/Source/core/html/track/InbandTextTrack.cpp |
@@ -39,13 +39,13 @@ using blink::WebString; |
namespace WebCore { |
-PassRefPtrWillBeRawPtr<InbandTextTrack> InbandTextTrack::create(Document& document, WebInbandTextTrack* webTrack) |
+PassRefPtrWillBeRawPtr<InbandTextTrack> InbandTextTrack::create(WebInbandTextTrack* webTrack) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new InbandTextTrack(document, webTrack)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new InbandTextTrack(webTrack)); |
} |
-InbandTextTrack::InbandTextTrack(Document& document, WebInbandTextTrack* webTrack) |
- : TextTrack(document, emptyAtom, webTrack->label(), webTrack->language(), webTrack->id(), InBand) |
+InbandTextTrack::InbandTextTrack(WebInbandTextTrack* webTrack) |
+ : TextTrack(emptyAtom, webTrack->label(), webTrack->language(), webTrack->id(), InBand) |
, m_webTrack(webTrack) |
{ |
m_webTrack->setClient(this); |