Chromium Code Reviews| Index: src/api.h |
| diff --git a/src/api.h b/src/api.h |
| index 8628b2a960a020b5c111caa90c3d8f2e595581ed..d73646d99d668ec2a7ca6ea08e7a5a367b26867e 100644 |
| --- a/src/api.h |
| +++ b/src/api.h |
| @@ -572,8 +572,8 @@ void HandleScopeImplementer::DeleteExtensions(internal::Object** prev_limit) { |
| #endif |
| blocks_.RemoveLast(); |
| -#ifdef DEBUG |
| - v8::ImplementationUtilities::ZapHandleRange(block_start, block_limit); |
| +#ifdef ENABLE_EXTRA_CHECKS |
| + internal::HandleScope::ZapRange(block_start, block_limit); |
| #endif |
| if (spare_ != NULL) { |
| DeleteArray(spare_); |