Index: src/v8conversions.h |
diff --git a/src/v8conversions.h b/src/v8conversions.h |
index 9d618af9809a49abb817cd73043a20b28bf68cab..8191ee071c88bfbf61f96f546b137a107aa31d61 100644 |
--- a/src/v8conversions.h |
+++ b/src/v8conversions.h |
@@ -58,7 +58,7 @@ double StringToInt(UnicodeCache* unicode_cache, String* str, int radix); |
// Converts a number into size_t. |
inline size_t NumberToSize(Isolate* isolate, |
Object* number) { |
- NoHandleAllocation hc(isolate); |
+ DisallowHandleAllocation no_handles; |
if (number->IsSmi()) { |
return Smi::cast(number)->value(); |
} else { |