Chromium Code Reviews
DescriptionFixing a crash which could occur when a string containing multibyte characters is passed to AutocompleteEditViewGtk::EmphasizeURLComponents().
The AutocompleteInput::Parse works in a wstring, so the parts indices are also for a wstring. Convert these to utf8 byte indices.
BUG=10539
Patch Set 1 #
Total comments: 1
Patch Set 2 : '' #
Total comments: 4
Patch Set 3 : '' #Messages
Total messages: 7 (0 generated)
|