| Index: Source/core/editing/SplitTextNodeCommand.cpp
|
| diff --git a/Source/core/editing/SplitTextNodeCommand.cpp b/Source/core/editing/SplitTextNodeCommand.cpp
|
| index c8550cf4f224c1c4c98b5ba85c135db8798468ea..34086598049204fe46d585254ed927ef8d6ab949 100644
|
| --- a/Source/core/editing/SplitTextNodeCommand.cpp
|
| +++ b/Source/core/editing/SplitTextNodeCommand.cpp
|
| @@ -96,11 +96,11 @@ void SplitTextNodeCommand::doReapply()
|
|
|
| void SplitTextNodeCommand::insertText1AndTrimText2()
|
| {
|
| - TrackExceptionState es;
|
| - m_text2->parentNode()->insertBefore(m_text1.get(), m_text2.get(), es);
|
| - if (es.hadException())
|
| + TrackExceptionState exceptionState;
|
| + m_text2->parentNode()->insertBefore(m_text1.get(), m_text2.get(), exceptionState);
|
| + if (exceptionState.hadException())
|
| return;
|
| - m_text2->deleteData(0, m_offset, es, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
|
| + m_text2->deleteData(0, m_offset, exceptionState, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
|
| }
|
|
|
| } // namespace WebCore
|
|
|