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 /content/child/npapi | |
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 'content/child/npapi')
-rw-r--r-- | content/child/npapi/plugin_host.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/child/npapi/plugin_host.cc b/content/child/npapi/plugin_host.cc index f393c7e..e0ac05d 100644 --- a/content/child/npapi/plugin_host.cc +++ b/content/child/npapi/plugin_host.cc @@ -262,7 +262,7 @@ bool PluginHost::SetPostData(const char* buf, case GETNAME: // Got a value. value = std::string(start, ptr - start); - TrimWhitespace(value, TRIM_ALL, &value); + base::TrimWhitespace(value, base::TRIM_ALL, &value); // If the name field is empty, we'll skip this header // but we won't error out. if (!name.empty() && name != "content-length") { @@ -274,7 +274,7 @@ bool PluginHost::SetPostData(const char* buf, case GETVALUE: // Got a header. name = StringToLowerASCII(std::string(start, ptr - start)); - TrimWhitespace(name, TRIM_ALL, &name); + base::TrimWhitespace(name, base::TRIM_ALL, &name); start = ptr + 1; break; case GETDATA: { |