diff options
| author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 09:22:56 +0000 |
|---|---|---|
| committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 09:22:56 +0000 |
| commit | 94161ccff85b1afda1f42474c26a948af06bfa45 (patch) | |
| tree | 2b41c581a805930180e568fee39dab5314aa4a0a /chrome/tools | |
| parent | b5bdca8334d91521cead662c49e2af90ce9602da (diff) | |
| download | chromium_src-94161ccff85b1afda1f42474c26a948af06bfa45.zip chromium_src-94161ccff85b1afda1f42474c26a948af06bfa45.tar.gz chromium_src-94161ccff85b1afda1f42474c26a948af06bfa45.tar.bz2 | |
Lands <http://codereview.chromium.org/165297> for thiago.farina@gmail.com.
R=me
From Thiago:
Replaces some TrimWhitespace with TrimWhitespaceASCII or TrimWhitespaceUTF8.
BUG=9851
TEST=run base_unittests.exe, unit_tests.exe and ui_tests.exe
Review URL: http://codereview.chromium.org/172039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
| -rw-r--r-- | chrome/tools/convert_dict/hunspell_reader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/tools/convert_dict/hunspell_reader.cc b/chrome/tools/convert_dict/hunspell_reader.cc index c04b165..52e3117 100644 --- a/chrome/tools/convert_dict/hunspell_reader.cc +++ b/chrome/tools/convert_dict/hunspell_reader.cc @@ -20,7 +20,7 @@ void TrimLine(std::string* line) { static_cast<unsigned char>((*line)[2]) == 0xbf) *line = line->substr(3); - TrimWhitespace(*line, TRIM_ALL, line); + TrimWhitespaceUTF8(*line, TRIM_ALL, line); } std::string ReadLine(FILE* file) { |
