| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index 451d561880b2d413515d2a1c786652994e1c9a4f..7a6bbb2dd7fce11136bb344b52e9ffe69286496d 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -200,9 +200,9 @@ static bool executeInsertNode(Frame& frame, PassRefPtr<Node> content)
|
| {
|
| ASSERT(frame.document());
|
| RefPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
|
| - TrackExceptionState es;
|
| - fragment->appendChild(content, es);
|
| - if (es.hadException())
|
| + TrackExceptionState exceptionState;
|
| + fragment->appendChild(content, exceptionState);
|
| + if (exceptionState.hadException())
|
| return false;
|
| return executeInsertFragment(frame, fragment.release());
|
| }
|
|
|