| Index: Source/platform/text/SegmentedString.h
|
| diff --git a/Source/platform/text/SegmentedString.h b/Source/platform/text/SegmentedString.h
|
| index fe4e288b98f24248a490227f3b39c18f25bbf505..c08742a569b058c081d66e6366fbe5813c0d9c31 100644
|
| --- a/Source/platform/text/SegmentedString.h
|
| +++ b/Source/platform/text/SegmentedString.h
|
| @@ -190,13 +190,15 @@ public:
|
|
|
| void push(UChar c)
|
| {
|
| + ASSERT(c);
|
| +
|
| if (!m_pushedChar1) {
|
| - m_pushedChar1 = c;
|
| - m_currentChar = m_pushedChar1 ? m_pushedChar1 : m_currentString.getCurrentChar();
|
| + m_currentChar = m_pushedChar1 = c;
|
| updateSlowCaseFunctionPointers();
|
| } else {
|
| ASSERT(!m_pushedChar2);
|
| - m_pushedChar2 = c;
|
| + m_pushedChar2 = m_pushedChar1;
|
| + m_currentChar = m_pushedChar1 = c;
|
| }
|
| }
|
|
|
|
|