Chromium Code Reviews| Index: base/string_escape.cc |
| =================================================================== |
| --- base/string_escape.cc (revision 2755) |
| +++ base/string_escape.cc (working copy) |
| @@ -14,6 +14,7 @@ |
| // returns true and appends the escape sequence to |dst|. |
| template<typename CHAR> |
| static bool JavascriptSingleEscapeChar(const CHAR c, std::string* dst) { |
| + // WARNING: if you add a new case here, you need to update the reader as well. |
| switch (c) { |
| case '\b': |
| dst->append("\\b"); |