Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h |
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h |
| index fc4cb53757fb3ccc18b5bd82606105dca4617645..5f380f0d676cae68cf1899c3f72ddb56ad85f1fa 100644 |
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h |
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h |
| @@ -39,7 +39,7 @@ class CORE_EXPORT TextIteratorTextState { |
| STACK_ALLOCATED(); |
| public: |
| - explicit TextIteratorTextState(bool emitsOriginalText); |
| + TextIteratorTextState(bool emitsOriginalText, bool emitsSpaceForNbsp); |
| ~TextIteratorTextState() {} |
| const String& string() const { return m_text; } |
| @@ -99,6 +99,7 @@ class CORE_EXPORT TextIteratorTextState { |
| bool m_hasEmitted; |
| UChar m_lastCharacter; |
| bool m_emitsOriginalText; |
| + bool m_emitsSpaceForNbsp; |
|
yosin_UTC9
2017/01/25 03:41:23
Let's make this to |const bool| and |m_emitOrigina
aelias_OOO_until_Jul13
2017/01/25 04:33:29
Done.
|
| // Stores the length of :first-letter when we are at the remaining text. |
| // Equals to 0 in all other cases. |