Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: Source/core/html/track/TextTrackCue.cpp

Issue 54463002: Make WebVTTParser::collectTimeStamp static (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/track/WebVTTParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | Source/core/html/track/WebVTTParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698