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

Unified Diff: webkit/glue/plugins/plugin_host.cc

Issue 165297: Replaces some TrimWhitespace with TrimWhitespaceASCII or TrimWhitespaceUTF8.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: hunspell fix Created 11 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 | « webkit/activex_shim/activex_shared.cc ('k') | webkit/glue/webplugin_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/plugin_host.cc
===================================================================
--- webkit/glue/plugins/plugin_host.cc (revision 23450)
+++ webkit/glue/plugins/plugin_host.cc (working copy)
@@ -201,7 +201,7 @@
case GETNAME:
// Got a value.
value = std::string(start, ptr - start);
- TrimWhitespace(value, TRIM_ALL, &value);
+ TrimWhitespaceASCII(value, 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") {
@@ -213,7 +213,7 @@
case GETVALUE:
// Got a header.
name = StringToLowerASCII(std::string(start, ptr - start));
- TrimWhitespace(name, TRIM_ALL, &name);
+ TrimWhitespaceASCII(name, TRIM_ALL, &name);
start = ptr + 1;
break;
case GETDATA:
« no previous file with comments | « webkit/activex_shim/activex_shared.cc ('k') | webkit/glue/webplugin_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698