Index: base/json/string_escape.cc |
diff --git a/base/json/string_escape.cc b/base/json/string_escape.cc |
index 0b12439603d019143351c086f6dcc9dbb16a0752..b4415b8fa3b951d748fb305c553ba29a53305446 100644 |
--- a/base/json/string_escape.cc |
+++ b/base/json/string_escape.cc |
@@ -6,6 +6,7 @@ |
#include <string> |
+#include "base/stringprintf.h" |
#include "base/string_util.h" |
namespace base { |
@@ -63,7 +64,7 @@ void JsonDoubleQuoteT(const STR& str, |
// 2. Technically, we could also pass through c > 126 as UTF8, but this |
// is also optional. It would also be a pain to implement here. |
unsigned int as_uint = static_cast<unsigned int>(c); |
- StringAppendF(dst, "\\u%04X", as_uint); |
+ base::StringAppendF(dst, "\\u%04X", as_uint); |
Nico
2011/05/10 02:57:51
hm, these are not necessary because of ADL. does i
James Hawkins
2011/05/10 04:01:43
No, I added them. I prefer them, but I don't thin
|
} else { |
unsigned char ascii = static_cast<unsigned char>(*it); |
dst->push_back(ascii); |