Index: Source/core/html/track/vtt/VTTCue.cpp |
diff --git a/Source/core/html/track/vtt/VTTCue.cpp b/Source/core/html/track/vtt/VTTCue.cpp |
index 15412ea2158dd1488c59fc33abfd47ec8a6bd8ec..512e598a2903ae1984f7f092c3519e3d904a4d48 100644 |
--- a/Source/core/html/track/vtt/VTTCue.cpp |
+++ b/Source/core/html/track/vtt/VTTCue.cpp |
@@ -675,10 +675,8 @@ void VTTCue::markFutureAndPastNodes(ContainerNode* root, double previousTimestam |
for (Node* child = root->firstChild(); child; child = NodeTraversal::next(*child, root)) { |
if (child->nodeName() == timestampTag) { |
- unsigned position = 0; |
- String timestamp = child->nodeValue(); |
double currentTimestamp; |
- bool check = VTTParser::collectTimeStamp(timestamp, &position, currentTimestamp); |
+ bool check = VTTParser::collectTimeStamp(child->nodeValue(), currentTimestamp); |
ASSERT_UNUSED(check, check); |
if (currentTimestamp > movieTime) |