Chromium Code Reviews| 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 7006b00981ad87ecf720b28d0141c468e9f2bb13..0b8487f94f9234baac799cfb54e5067825c905d8 100644 |
| --- a/Source/core/html/track/vtt/VTTCue.cpp |
| +++ b/Source/core/html/track/vtt/VTTCue.cpp |
| @@ -675,8 +675,8 @@ void VTTCue::markFutureAndPastNodes(ContainerNode* root, double previousTimestam |
| if (child->nodeName() == timestampTag) { |
| unsigned position = 0; |
| String timestamp = child->nodeValue(); |
| - double currentTimestamp = VTTParser::collectTimeStamp(timestamp, &position); |
| - ASSERT(currentTimestamp != -1); |
| + double currentTimestamp; |
| + VTTParser::collectTimeStamp(timestamp, &position, currentTimestamp); |
|
jochen (gone - plz use gerrit)
2013/12/05 09:00:36
why not ASSERT() around this call?
|
| if (currentTimestamp > movieTime) |
| isPastNode = false; |