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/browser/extensions/extension_file_util.cc | |
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/browser/extensions/extension_file_util.cc')
-rw-r--r-- | chrome/browser/extensions/extension_file_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_file_util.cc b/chrome/browser/extensions/extension_file_util.cc index 6c86965..07ef77f 100644 --- a/chrome/browser/extensions/extension_file_util.cc +++ b/chrome/browser/extensions/extension_file_util.cc @@ -80,7 +80,7 @@ bool ReadCurrentVersion(const FilePath& dir, std::string* version_string) { FilePath current_version = dir.AppendASCII(kCurrentVersionFileName); if (file_util::PathExists(current_version)) { if (file_util::ReadFileToString(current_version, version_string)) { - TrimWhitespace(*version_string, TRIM_ALL, version_string); + TrimWhitespaceASCII(*version_string, TRIM_ALL, version_string); return true; } } |