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

Unified Diff: src/zone/zone-allocator.h

Issue 2452403003: Changed statement ZoneList to a ZoneChunkList
Patch Set: Created 4 years, 2 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
« no previous file with comments | « src/zone/zone.h ('k') | src/zone/zone-containers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/zone/zone-allocator.h
diff --git a/src/zone/zone-allocator.h b/src/zone/zone-allocator.h
index 1e2862a2c1144b018884d6c55643f301c6bff3be..412cdcce8555bde857606f55ef950e668a400504 100644
--- a/src/zone/zone-allocator.h
+++ b/src/zone/zone-allocator.h
@@ -5,6 +5,7 @@
#ifndef V8_ZONE_ZONE_ALLOCATOR_H_
#define V8_ZONE_ZONE_ALLOCATOR_H_
#include <limits>
+#include <new>
#include "src/zone/zone.h"
@@ -50,7 +51,7 @@ class zone_allocator {
return std::numeric_limits<int>::max() / sizeof(value_type);
}
void construct(pointer p, const T& val) {
- new (static_cast<void*>(p)) T(val);
+ ::new (static_cast<void*>(p)) T(val);
}
void destroy(pointer p) { p->~T(); }
« no previous file with comments | « src/zone/zone.h ('k') | src/zone/zone-containers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698