Index: sky/engine/core/editing/SplitTextNodeCommand.cpp |
diff --git a/sky/engine/core/editing/SplitTextNodeCommand.cpp b/sky/engine/core/editing/SplitTextNodeCommand.cpp |
index 720a2ed5b8e3dc6bdffbc60144461a38fe591f46..8d0c5ffcc7d94c5a8923c4481d978be80dd2476f 100644 |
--- a/sky/engine/core/editing/SplitTextNodeCommand.cpp |
+++ b/sky/engine/core/editing/SplitTextNodeCommand.cpp |
@@ -26,8 +26,8 @@ |
#include "sky/engine/config.h" |
#include "sky/engine/core/editing/SplitTextNodeCommand.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/Document.h" |
#include "sky/engine/core/dom/DocumentMarkerController.h" |
#include "sky/engine/core/dom/Text.h" |
@@ -98,7 +98,7 @@ void SplitTextNodeCommand::insertText1AndTrimText2() |
{ |
TrackExceptionState exceptionState; |
m_text2->parentNode()->insertBefore(m_text1.get(), m_text2.get(), exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.had_exception()) |
return; |
m_text2->deleteData(0, m_offset, exceptionState, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing); |
} |