Index: src/allocation-inl.h |
diff --git a/src/allocation-inl.h b/src/allocation-inl.h |
index d215b176b10359fd1fceedd7e656bccc94dafb28..d32db4b17fc18c314f3ce51adb087cfa2333c038 100644 |
--- a/src/allocation-inl.h |
+++ b/src/allocation-inl.h |
@@ -35,12 +35,12 @@ namespace internal { |
void* PreallocatedStorageAllocationPolicy::New(size_t size) { |
- return isolate_->PreallocatedStorageNew(size); |
+ return Isolate::Current()->PreallocatedStorageNew(size); |
} |
void PreallocatedStorageAllocationPolicy::Delete(void* p) { |
- return isolate_->PreallocatedStorageDelete(p); |
+ return Isolate::Current()->PreallocatedStorageDelete(p); |
} |