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

Unified Diff: Source/core/editing/TextIteratorTest.cpp

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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
« no previous file with comments | « Source/core/editing/TextIterator.cpp ('k') | Source/core/editing/markup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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[] = {
« no previous file with comments | « Source/core/editing/TextIterator.cpp ('k') | Source/core/editing/markup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698