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

Unified Diff: third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.cpp

Issue 2806433002: Avoid duplicate functions/code in core/editing: MatchResultICU (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.cpp
diff --git a/third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.cpp b/third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.cpp
index 42687bcea8174fa01297aaee573d072d30ce65d9..a961fc069303f4022436d1381ccebc44639dbd8e 100644
--- a/third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.cpp
@@ -129,7 +129,7 @@ void TextSearcherICU::setOffset(size_t offset) {
DCHECK_EQ(status, U_ZERO_ERROR);
}
-bool TextSearcherICU::nextMatchResult(MatchResult& result) {
+bool TextSearcherICU::nextMatchResult(MatchResultICU& result) {
UErrorCode status = U_ZERO_ERROR;
const int matchStart = usearch_next(m_searcher, &status);
DCHECK_EQ(status, U_ZERO_ERROR);

Powered by Google App Engine
This is Rietveld 408576698