Chromium Code Reviews| Index: src/hashmap.h |
| diff --git a/src/hashmap.h b/src/hashmap.h |
| index d2d1fafa32480630622c6d831fac06d34a64f430..48fa2fec5c4a1ffa459f1d44dadda533c6605765 100644 |
| --- a/src/hashmap.h |
| +++ b/src/hashmap.h |
| @@ -46,14 +46,12 @@ class Allocator BASE_EMBEDDED { |
| class HashMap { |
|
fschneider
2012/02/28 16:54:48
I changed HashMap so that it does not have an allo
Philippe
2012/02/29 10:24:45
Done.
|
| public: |
| - static Allocator* DefaultAllocator; |
| - |
| typedef bool (*MatchFun) (void* key1, void* key2); |
| // initial_capacity is the size of the initial hash map; |
| // it must be a power of 2 (and thus must not be 0). |
| explicit HashMap(MatchFun match, |
| - Allocator* allocator = DefaultAllocator, |
| + Allocator* allocator = NULL, |
| uint32_t initial_capacity = 8); |
| ~HashMap(); |