Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1457)

Unified Diff: content/child/npapi/plugin_host.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/npapi/npobject_stub.cc ('k') | content/child/npapi/plugin_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_host.cc
diff --git a/content/child/npapi/plugin_host.cc b/content/child/npapi/plugin_host.cc
index e9cdb4adef123ee3ccd96ddb601bccc2151f47b9..ea7d0a00274b87a020d6fdb09fdfe9da46430c69 100644
--- a/content/child/npapi/plugin_host.cc
+++ b/content/child/npapi/plugin_host.cc
@@ -271,7 +271,7 @@ bool PluginHost::SetPostData(const char* buf,
break;
case GETVALUE:
// Got a header.
- name = base::StringToLowerASCII(std::string(start, ptr - start));
+ name = base::ToLowerASCII(base::StringPiece(start, ptr - start));
base::TrimWhitespace(name, base::TRIM_ALL, &name);
start = ptr + 1;
break;
« no previous file with comments | « content/child/npapi/npobject_stub.cc ('k') | content/child/npapi/plugin_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698