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

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

Issue 1213483003: Get rid of redundant parameter PositionIsOffsetInAnchor from PositionAlgorithm constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/iterators/TextIterator.cpp ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/iterators/TextIteratorTest.cpp
diff --git a/Source/core/editing/iterators/TextIteratorTest.cpp b/Source/core/editing/iterators/TextIteratorTest.cpp
index 797ba51509ae3a32e9eb46f2b5ca8ba398b5d10c..8ea50e89a073c7f4d2ec24748c5df5714e6b0bba 100644
--- a/Source/core/editing/iterators/TextIteratorTest.cpp
+++ b/Source/core/editing/iterators/TextIteratorTest.cpp
@@ -66,8 +66,8 @@ std::string TextIteratorTest::iterate(TextIteratorBehavior iteratorBehavior)
{
RefPtrWillBeRawPtr<Element> body = document().body();
using PositionType = typename Tree::PositionType;
- auto start = PositionType(body, 0, PositionType::PositionIsOffsetInAnchor);
- auto end = PositionType(body, Tree::countChildren(*body), PositionType::PositionIsOffsetInAnchor);
+ auto start = PositionType(body, 0);
+ auto end = PositionType(body, Tree::countChildren(*body));
typename Tree::TextIteratorType iterator(start, end, iteratorBehavior);
return iterateWithIterator<Tree>(iterator);
}
« no previous file with comments | « Source/core/editing/iterators/TextIterator.cpp ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698