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

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

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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 | « Source/core/html/track/WebVTTParser.h ('k') | Source/core/html/track/WebVTTToken.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/WebVTTParser.cpp
diff --git a/Source/core/html/track/WebVTTParser.cpp b/Source/core/html/track/WebVTTParser.cpp
index 117661e26bb89693cfa852356b4a6199137400d7..4a7b524f5922c12f1894f8bc1d2e4719f9ec68e1 100644
--- a/Source/core/html/track/WebVTTParser.cpp
+++ b/Source/core/html/track/WebVTTParser.cpp
@@ -311,7 +311,7 @@ WebVTTParser::ParseState WebVTTParser::collectCueText(const String& line, unsign
if (position >= length)
createNewCue();
-
+
return CueText;
}
@@ -333,17 +333,17 @@ PassRefPtr<DocumentFragment> WebVTTParser::createDocumentFragmentFromCueText(co
ASSERT(m_scriptExecutionContext->isDocument());
Document* document = toDocument(m_scriptExecutionContext);
-
+
RefPtr<DocumentFragment> fragment = DocumentFragment::create(document);
m_currentNode = fragment;
m_tokenizer->reset();
m_token.clear();
-
+
m_languageStack.clear();
SegmentedString content(text);
while (m_tokenizer->nextToken(content, m_token))
constructTreeFromToken(document);
-
+
return fragment.release();
}
@@ -415,7 +415,7 @@ double WebVTTParser::collectTimeStamp(const String& line, unsigned* position)
return malformedTime;
String digits2 = collectDigits(line, position);
int value2 = digits2.toInt();
- if (digits2.length() != 2)
+ if (digits2.length() != 2)
return malformedTime;
// 13 - Detect whether this timestamp includes hours.
« no previous file with comments | « Source/core/html/track/WebVTTParser.h ('k') | Source/core/html/track/WebVTTToken.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698