Chromium Code Reviews| Index: net/base/escape.cc |
| =================================================================== |
| --- net/base/escape.cc (revision 157289) |
| +++ net/base/escape.cc (working copy) |
| @@ -30,7 +30,7 @@ |
| // Does quick bit-flicking to lookup needed characters. |
| struct Charmap { |
| bool Contains(unsigned char c) const { |
| - return (map[c >> 5] & (1 << (c & 31))) ? true : false; |
| + return ((map[c >> 5] & (1 << (c & 31))) != 0); |
| } |
| uint32 map[8]; |