Index: net/disk_cache/bitmap.cc |
=================================================================== |
--- net/disk_cache/bitmap.cc (revision 157289) |
+++ net/disk_cache/bitmap.cc (working copy) |
@@ -36,7 +36,7 @@ |
return FindLSBSetNonZero(word); |
} |
-} |
+} // namespace |
namespace disk_cache { |
@@ -105,7 +105,7 @@ |
DCHECK_GE(index, 0); |
const int i = index & (kIntBits-1); |
const int j = index / kIntBits; |
- return map_[j] & (1 << i) ? true : false; |
+ return ((map_[j] & (1 << i)) != 0); |
} |
void Bitmap::Toggle(int index) { |