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

Unified Diff: Source/core/editing/iterators/CharacterIterator.cpp

Issue 1227413004: Fix build following r198658. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/iterators/CharacterIterator.cpp
diff --git a/Source/core/editing/iterators/CharacterIterator.cpp b/Source/core/editing/iterators/CharacterIterator.cpp
index 8d45d01290a21287bc3ad34500f3b0e0861a3af7..3ef1fc549c581c263848a934067a447ccc01176b 100644
--- a/Source/core/editing/iterators/CharacterIterator.cpp
+++ b/Source/core/editing/iterators/CharacterIterator.cpp
@@ -115,7 +115,7 @@ EphemeralRangeTemplate<Strategy> CharacterIteratorAlgorithm<Strategy>::range() c
PositionAlgorithm<Strategy> startPosition = range.startPosition().parentAnchoredEquivalent();
PositionAlgorithm<Strategy> endPosition = range.endPosition().parentAnchoredEquivalent();
Node* node = startPosition.containerNode();
- ASSERT(node == endPosition.containerNode());
+ ASSERT_UNUSED(endPosition, node == endPosition.containerNode());
int offset = startPosition.offsetInContainerNode() + m_runOffset;
return EphemeralRangeTemplate<Strategy>(PositionAlgorithm<Strategy>(node, offset), PositionAlgorithm<Strategy>(node, offset + 1));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698