| Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| index b5d8296d4369f32e387dba80b788c6b6c19bd129..e41d636c3b389a8310cc416f33e2f6fc4a06417d 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| @@ -713,9 +713,9 @@ void TextIteratorAlgorithm<Strategy>::handleTextBox() {
|
| // This effectively translates newlines to spaces without copying the
|
| // text.
|
| if (str[runStart] == '\n') {
|
| - // We need to preserve new lines in case of PRE_LINE.
|
| + // We need to preserve new lines in case of PreLine.
|
| // See bug crbug.com/317365.
|
| - if (layoutObject->style()->whiteSpace() == PRE_LINE)
|
| + if (layoutObject->style()->whiteSpace() == EWhiteSpace::PreLine)
|
| spliceBuffer('\n', m_node, 0, runStart, runStart);
|
| else
|
| spliceBuffer(spaceCharacter, m_node, 0, runStart, runStart + 1);
|
|
|