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

Unified Diff: trunk/src/components/query_parser/snippet.h

Issue 336793004: Revert 277111 "Roll ICU to icu52" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/components/query_parser/snippet.h
===================================================================
--- trunk/src/components/query_parser/snippet.h (revision 277116)
+++ trunk/src/components/query_parser/snippet.h (working copy)
@@ -33,13 +33,13 @@
// with no overlapping elements.
//
// NOTE: the positions returned are in terms of UTF8 encoding. To convert the
- // offsets to UTF-16, use ConvertMatchPositionsToWide
+ // offsets to wide, use ConvertMatchPositionsToWide.
static void ExtractMatchPositions(const std::string& offsets_str,
const std::string& column_num,
MatchPositions* match_positions);
// Converts match positions as returned from ExtractMatchPositions to be in
- // terms of a UTF-16 2-byte code unit.
+ // terms of a wide string.
static void ConvertMatchPositionsToWide(
const std::string& utf8_string,
Snippet::MatchPositions* match_positions);

Powered by Google App Engine
This is Rietveld 408576698