diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 14:16:00 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 14:16:00 +0000 |
commit | 21492d0f5961a2d428156d160280608b04f4a01c (patch) | |
tree | 6a4de56b5e9391260b90d0b3a93bc590e975d395 /base/file_util.h | |
parent | 8fdac81e046a1ae0cb085a5f549aa6379a5a069f (diff) | |
download | chromium_src-21492d0f5961a2d428156d160280608b04f4a01c.zip chromium_src-21492d0f5961a2d428156d160280608b04f4a01c.tar.gz chromium_src-21492d0f5961a2d428156d160280608b04f4a01c.tar.bz2 |
Fixing 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
Review URL: http://codereview.chromium.org/73078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
0 files changed, 0 insertions, 0 deletions