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

Unified Diff: third_party/WebKit/Source/core/editing/iterators/SearchBuffer.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
diff --git a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
index 3f99f4b674d4650c74d18e0fe7d59637fc97c37a..efd03e3c712b407244a23a3fc817833583feff64 100644
--- a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
@@ -252,7 +252,7 @@ inline size_t SearchBuffer::search(size_t& start) {
m_textSearcher->setText(m_buffer.data(), size);
m_textSearcher->setOffset(m_prefixLength);
- MatchResult match;
+ MatchResultICU match;
nextMatch:
if (!m_textSearcher->nextMatchResult(match))
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/iterators/TextSearcherICU.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698