Index: Source/core/html/track/WebVTTParser.cpp |
diff --git a/Source/core/html/track/WebVTTParser.cpp b/Source/core/html/track/WebVTTParser.cpp |
index b3f0632def09785ca527886cc6e981a44ed51bf9..54f52e4243e9401359b0889eb91c1e9a642216f4 100644 |
--- a/Source/core/html/track/WebVTTParser.cpp |
+++ b/Source/core/html/track/WebVTTParser.cpp |
@@ -372,9 +372,6 @@ PassRefPtr<DocumentFragment> WebVTTParser::createDocumentFragmentFromCueText(Doc |
void WebVTTParser::createNewCue() |
{ |
- if (!m_currentContent.length()) |
- return; |
- |
RefPtr<TextTrackCue> cue = TextTrackCue::create(*m_document, m_currentStartTime, m_currentEndTime, m_currentContent.toString()); |
cue->setId(m_currentId); |
cue->setCueSettings(m_currentSettings); |