| Index: sky/engine/core/editing/SplitElementCommand.cpp
|
| diff --git a/sky/engine/core/editing/SplitElementCommand.cpp b/sky/engine/core/editing/SplitElementCommand.cpp
|
| index c4adc76639fc2bcb99b70c19377bedde99831806..59a030267e39941171989fd072de406330322f76 100644
|
| --- a/sky/engine/core/editing/SplitElementCommand.cpp
|
| +++ b/sky/engine/core/editing/SplitElementCommand.cpp
|
| @@ -27,8 +27,8 @@
|
| #include "sky/engine/core/editing/SplitElementCommand.h"
|
|
|
| #include "gen/sky/core/HTMLNames.h"
|
| -#include "sky/engine/bindings/core/v8/ExceptionState.h"
|
| -#include "sky/engine/bindings/core/v8/ExceptionStatePlaceholder.h"
|
| +#include "sky/engine/bindings2/exception_state.h"
|
| +#include "sky/engine/bindings2/exception_state_placeholder.h"
|
| #include "sky/engine/core/dom/Element.h"
|
| #include "sky/engine/wtf/Assertions.h"
|
|
|
| @@ -59,7 +59,7 @@ void SplitElementCommand::executeApply()
|
| if (!parent || !parent->hasEditableStyle())
|
| return;
|
| parent->insertBefore(m_element1.get(), m_element2.get(), exceptionState);
|
| - if (exceptionState.hadException())
|
| + if (exceptionState.had_exception())
|
| return;
|
|
|
| // Delete id attribute from the second element because the same id cannot be used for more than one element
|
|
|