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

Unified Diff: Source/core/html/track/vtt/BufferedLineReader.cpp

Issue 1119663002: Making Unicode character names consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase patch Created 5 years, 7 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
Index: Source/core/html/track/vtt/BufferedLineReader.cpp
diff --git a/Source/core/html/track/vtt/BufferedLineReader.cpp b/Source/core/html/track/vtt/BufferedLineReader.cpp
index 3401e5cab949a2f8a34863a5bf31052e5088f475..1cb81c381af96c32e42bb44dc3b275976bf0f6ea 100644
--- a/Source/core/html/track/vtt/BufferedLineReader.cpp
+++ b/Source/core/html/track/vtt/BufferedLineReader.cpp
@@ -56,10 +56,10 @@ bool BufferedLineReader::getLine(String& line)
UChar c = m_buffer.currentChar();
m_buffer.advance();
- if (c == newlineCharacter || c == carriageReturn) {
+ if (c == newlineCharacter || c == carriageReturnCharacter) {
// We found a line ending. Return the accumulated line.
shouldReturnLine = true;
- checkForLF = (c == carriageReturn);
+ checkForLF = (c == carriageReturnCharacter);
break;
}
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.cpp ('k') | Source/core/html/track/vtt/BufferedLineReaderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698