Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 17719692ef6c8f0908985c99b1b95f426ea04d19..b2cc9eb8392ca28207164f81e9ede44a344495dd 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4381,24 +4381,6 @@ class V8_EXPORT PersistentHandleVisitor { // NOLINT |
/** |
- * Asserts that no action is performed that could cause a handle's value |
- * to be modified. Useful when otherwise unsafe handle operations need to |
- * be performed. |
- */ |
-class V8_EXPORT AssertNoGCScope { |
-#ifndef DEBUG |
- // TODO(yangguo): remove isolate argument. |
- V8_INLINE AssertNoGCScope(Isolate* isolate) {} |
-#else |
- AssertNoGCScope(Isolate* isolate); |
- ~AssertNoGCScope(); |
- private: |
- void* disallow_heap_allocation_; |
-#endif |
-}; |
- |
- |
-/** |
* Container class for static utility functions. |
*/ |
class V8_EXPORT V8 { |