diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-03 19:05:31 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-03 19:05:31 +0000 |
commit | 8af69c6c00a7a432710171d16b37abe77f18d51c (patch) | |
tree | 4ee0b9d30bc47eab2ee1cc4cbc1e9c16916cd426 /chrome/browser/file_select_helper.cc | |
parent | d283bc0f818820a4344d170b1e917840310a7742 (diff) | |
download | chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.zip chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.tar.gz chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.tar.bz2 |
Move TrimWhitespace to the base namespace.
R=viettrungluu@chromium.org, viettrungluu
Review URL: https://codereview.chromium.org/183853011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/file_select_helper.cc')
-rw-r--r-- | chrome/browser/file_select_helper.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc index b4f78e2..1ebbe66 100644 --- a/chrome/browser/file_select_helper.cc +++ b/chrome/browser/file_select_helper.cc @@ -479,7 +479,8 @@ bool FileSelectHelper::IsAcceptTypeValid(const std::string& accept_type) { std::string unused; if (accept_type.length() <= 1 || StringToLowerASCII(accept_type) != accept_type || - TrimWhitespaceASCII(accept_type, TRIM_ALL, &unused) != TRIM_NONE) { + base::TrimWhitespaceASCII(accept_type, base::TRIM_ALL, &unused) != + base::TRIM_NONE) { return false; } return true; |