Index: Source/core/html/track/TextTrackCue.cpp |
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp |
index 3621d02da3e80996efbe601325db4f712025350e..fcd83dc4699206aed7ad0445b2f663b2951bd6c2 100644 |
--- a/Source/core/html/track/TextTrackCue.cpp |
+++ b/Source/core/html/track/TextTrackCue.cpp |
@@ -791,7 +791,7 @@ void TextTrackCue::markFutureAndPastNodes(ContainerNode* root, double previousTi |
if (child->nodeName() == timestampTag) { |
unsigned position = 0; |
String timestamp = child->nodeValue(); |
- double currentTimestamp = WebVTTParser::create(0, document())->collectTimeStamp(timestamp, &position); |
+ double currentTimestamp = WebVTTParser::collectTimeStamp(timestamp, &position); |
ASSERT(currentTimestamp != -1); |
if (currentTimestamp > movieTime) |