Index: Source/core/editing/TextIteratorTest.cpp |
diff --git a/Source/core/editing/TextIteratorTest.cpp b/Source/core/editing/TextIteratorTest.cpp |
index e44acdaad555dc4852eafff88aa9f576d4cd67ad..9cc94a14a4802707ea4ec743a43e4bf045e3adce 100644 |
--- a/Source/core/editing/TextIteratorTest.cpp |
+++ b/Source/core/editing/TextIteratorTest.cpp |
@@ -489,8 +489,8 @@ TEST_F(TextIteratorTest, FindPlainTextInvalidTarget) |
setBodyInnerHTML(bodyContent); |
RefPtrWillBeRawPtr<Range> range = getBodyRange(); |
- RefPtrWillBeRawPtr<Range> expectedRange = range->cloneRange(ASSERT_NO_EXCEPTION); |
- expectedRange->collapse(false, ASSERT_NO_EXCEPTION); |
+ RefPtrWillBeRawPtr<Range> expectedRange = range->cloneRange(); |
+ expectedRange->collapse(false); |
// A lone lead surrogate (0xDA0A) example taken from fuzz-58. |
static const UChar invalid1[] = { |