Index: src/compiler/zone-pool.h |
diff --git a/src/compiler/zone-pool.h b/src/compiler/zone-pool.h |
index 15866ea3581b9021c3d29dee8a09585fda5058b7..aaf9daac464f7bf7e712b597587c08867d90d23d 100644 |
--- a/src/compiler/zone-pool.h |
+++ b/src/compiler/zone-pool.h |
@@ -19,16 +19,17 @@ class ZonePool final { |
public: |
class Scope final { |
public: |
- explicit Scope(ZonePool* zone_pool) : zone_pool_(zone_pool), zone_(NULL) {} |
+ explicit Scope(ZonePool* zone_pool) |
+ : zone_pool_(zone_pool), zone_(nullptr) {} |
~Scope() { Destroy(); } |
Zone* zone() { |
- if (zone_ == NULL) zone_ = zone_pool_->NewEmptyZone(); |
+ if (zone_ == nullptr) zone_ = zone_pool_->NewEmptyZone(); |
return zone_; |
} |
void Destroy() { |
- if (zone_ != NULL) zone_pool_->ReturnZone(zone_); |
- zone_ = NULL; |
+ if (zone_ != nullptr) zone_pool_->ReturnZone(zone_); |
+ zone_ = nullptr; |
} |
private: |