| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 70e64a2285f474573009210382dc80eb51402391..19abf0fb543a1b2c12c52b6d0aebba75cd2a8fa1 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -859,6 +859,13 @@ class V8_EXPORT EscapableHandleScope : public HandleScope {
|
| private:
|
| internal::Object** Escape(internal::Object** escape_value);
|
|
|
| + // Make it hard to create heap-allocated or illegal handle scopes by
|
| + // disallowing certain operations.
|
| + EscapableHandleScope(const EscapableHandleScope&);
|
| + void operator=(const EscapableHandleScope&);
|
| + void* operator new(size_t size);
|
| + void operator delete(void*, size_t);
|
| +
|
| internal::Object** escape_slot_;
|
| };
|
|
|
|
|