From 8af69c6c00a7a432710171d16b37abe77f18d51c Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Mon, 3 Mar 2014 19:05:31 +0000 Subject: 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 --- content/child/npapi/plugin_host.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/child/npapi') 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: { -- cgit v1.1