Index: base/json/string_escape.cc |
diff --git a/base/json/string_escape.cc b/base/json/string_escape.cc |
index a3b0735191ee0dfc1b40d61862f3015570855297..469f9f98c038e1ec027fcf23203289ea4c67af88 100644 |
--- a/base/json/string_escape.cc |
+++ b/base/json/string_escape.cc |
@@ -135,7 +135,7 @@ std::string EscapeBytesAsInvalidJSONString(const StringPiece& str, |
dest.push_back('"'); |
for (StringPiece::const_iterator it = str.begin(); it != str.end(); ++it) { |
- ToUnsigned<StringPiece::value_type>::Unsigned c = *it; |
+ unsigned char c = *it; |
if (EscapeSpecialCodePoint(c, &dest)) |
continue; |