Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index a41445d82f313c3ab05d5b52e5deef8741a17d8c..28a63f092efb5a7831ccd5a891a9cffddbf4f655 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -223,7 +223,6 @@ class WeakReferenceCallbacks { |
#define V8_USE_UNSAFE_HANDLES |
-#define V8_USE_OLD_STYLE_PERSISTENT_HANDLE_VISITORS |
/** |
* An object reference managed by the v8 garbage collector. |
@@ -4125,13 +4124,8 @@ class V8EXPORT ExternalResourceVisitor { // NOLINT |
class V8EXPORT PersistentHandleVisitor { // NOLINT |
public: |
virtual ~PersistentHandleVisitor() {} |
-#ifdef V8_USE_OLD_STYLE_PERSISTENT_HANDLE_VISITORS |
- virtual void VisitPersistentHandle(Persistent<Value> value, |
- uint16_t class_id) {} |
-#else |
virtual void VisitPersistentHandle(Persistent<Value>* value, |
uint16_t class_id) {} |
-#endif |
}; |