Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: sky/engine/core/editing/TextCheckingHelper.cpp

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/editing/TextCheckingHelper.cpp
diff --git a/sky/engine/core/editing/TextCheckingHelper.cpp b/sky/engine/core/editing/TextCheckingHelper.cpp
index 8dc4f1432f81699e0ad0d65fdf8c25693813f75d..890e5d7fb43f6f314d5f9762f3afa5d88a047852 100644
--- a/sky/engine/core/editing/TextCheckingHelper.cpp
+++ b/sky/engine/core/editing/TextCheckingHelper.cpp
@@ -27,8 +27,8 @@
#include "sky/engine/config.h"
#include "sky/engine/core/editing/TextCheckingHelper.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/Range.h"
@@ -166,7 +166,7 @@ int TextCheckingParagraph::offsetTo(const Position& position, ExceptionState& ex
ASSERT(m_checkingRange);
RefPtr<Range> range = offsetAsRange()->cloneRange();
range->setEnd(position.containerNode(), position.computeOffsetInContainerNode(), exceptionState);
- if (exceptionState.hadException())
+ if (exceptionState.had_exception())
return 0;
return TextIterator::rangeLength(range.get());
}
« no previous file with comments | « sky/engine/core/editing/SplitTextNodeCommand.cpp ('k') | sky/engine/core/editing/TextInsertionBaseCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698