Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: src/hashmap.h

Issue 9455088: Remove static initializers in v8. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Lint. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698