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 /printing | |
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 'printing')
-rw-r--r-- | printing/backend/cups_helper.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/printing/backend/cups_helper.cc b/printing/backend/cups_helper.cc index 5636f08..6a0e220 100644 --- a/printing/backend/cups_helper.cc +++ b/printing/backend/cups_helper.cc @@ -62,7 +62,7 @@ void ParseLpOptions(const base::FilePath& filepath, continue; } - TrimWhitespaceASCII(line, TRIM_ALL, &line); + base::TrimWhitespaceASCII(line, base::TRIM_ALL, &line); if (line.empty()) continue; @@ -80,7 +80,8 @@ void ParseLpOptions(const base::FilePath& filepath, } line = line.substr(space_found + 1); - TrimWhitespaceASCII(line, TRIM_ALL, &line); // Remove extra spaces. + // Remove extra spaces. + base::TrimWhitespaceASCII(line, base::TRIM_ALL, &line); if (line.empty()) continue; // Parse the selected printer custom options. |