| Index: Source/core/html/track/vtt/VTTCue.h
|
| diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h
|
| index a43112dce4bc0f7b7f650c010e519ebcbd0ccfd3..6c2bc9c0321380391f76e4993573c64b2c46b8e7 100644
|
| --- a/Source/core/html/track/vtt/VTTCue.h
|
| +++ b/Source/core/html/track/vtt/VTTCue.h
|
| @@ -63,10 +63,7 @@ private:
|
|
|
| class VTTCue FINAL : public TextTrackCue, public ScriptWrappable {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<VTTCue> create(Document& document, double startTime, double endTime, const String& text)
|
| - {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new VTTCue(document, startTime, endTime, text));
|
| - }
|
| + static PassRefPtrWillBeRawPtr<VTTCue> create(ExecutionContext*, double startTime, double endTime, const String& text);
|
|
|
| virtual ~VTTCue();
|
|
|
|
|