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; |
} |