Chromium Code Reviews| Index: Source/core/html/track/WebVTTParser.cpp |
| diff --git a/Source/core/html/track/WebVTTParser.cpp b/Source/core/html/track/WebVTTParser.cpp |
| index 4a7b524f5922c12f1894f8bc1d2e4719f9ec68e1..e556b799b9a793f6626d7ddb6c2ebb7f166e81ae 100644 |
| --- a/Source/core/html/track/WebVTTParser.cpp |
| +++ b/Source/core/html/track/WebVTTParser.cpp |
| @@ -328,9 +328,6 @@ PassRefPtr<DocumentFragment> WebVTTParser::createDocumentFragmentFromCueText(co |
| // 4.8.10.13.4 WebVTT cue text parsing rules and |
| // 4.8.10.13.5 WebVTT cue text DOM construction rules. |
| - if (!text.length()) |
| - return 0; |
|
acolwell GONE FROM CHROMIUM
2013/08/05 23:40:32
nit: Do you really need to jump though all the hoo
vcarbune.chromium
2013/08/09 18:47:26
Yes, you're right, it shouldn't go through everyth
|
| - |
| ASSERT(m_scriptExecutionContext->isDocument()); |
| Document* document = toDocument(m_scriptExecutionContext); |