Chromium Code Reviews

Unified Diff: Source/core/html/track/vtt/VTTCue.h

Issue 340763003: Change [ConstructorCallWith={Document => ExecutionContext}] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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..26f0a56da70ae4247548d5db270a9f6b8264c736 100644
--- a/Source/core/html/track/vtt/VTTCue.h
+++ b/Source/core/html/track/vtt/VTTCue.h
@@ -68,6 +68,8 @@ public:
return adoptRefWillBeRefCountedGarbageCollected(new VTTCue(document, startTime, endTime, text));
}
+ static PassRefPtrWillBeRawPtr<VTTCue> create(ExecutionContext*, double startTime, double endTime, const String& text);
+
virtual ~VTTCue();
const String& vertical() const;

Powered by Google App Engine