Index: Source/core/html/track/TextTrackCue.cpp |
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp |
index fcd83dc4699206aed7ad0445b2f663b2951bd6c2..31344ee836a49b26046b3aa0559a77c388d89085 100644 |
--- a/Source/core/html/track/TextTrackCue.cpp |
+++ b/Source/core/html/track/TextTrackCue.cpp |
@@ -504,7 +504,7 @@ void TextTrackCue::invalidateCueIndex() |
void TextTrackCue::createWebVTTNodeTree() |
{ |
if (!m_webVTTNodeTree) |
- m_webVTTNodeTree = WebVTTParser::create(0, document())->createDocumentFragmentFromCueText(m_content); |
+ m_webVTTNodeTree = WebVTTParser::createDocumentFragmentFromCueText(document(), m_content); |
} |
void TextTrackCue::copyWebVTTNodeToDOMTree(ContainerNode* webVTTNode, ContainerNode* parent) |