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

Unified Diff: Source/web/mac/WebSubstringUtil.mm

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/web/WebRange.cpp ('k') | Source/web/tests/TextFinderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/mac/WebSubstringUtil.mm
diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm
index bdd2598b280c163f38299dd67e959cff9e0b3d9b..d14d4fd2ac8a79ed925f67b8e14baccbcd6c5342 100644
--- a/Source/web/mac/WebSubstringUtil.mm
+++ b/Source/web/mac/WebSubstringUtil.mm
@@ -70,7 +70,7 @@ static NSAttributedString* attributedSubstringFromRange(const Range* range)
if (!numCharacters)
continue;
- Node* container = it.range()->startContainer(IGNORE_EXCEPTION);
+ Node* container = it.range()->startContainer();
RenderObject* renderer = container->renderer();
ASSERT(renderer);
if (!renderer)
« no previous file with comments | « Source/web/WebRange.cpp ('k') | Source/web/tests/TextFinderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698