Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index b88eedf39bf34d60c0aa1b41fb1bdd2e34c21c9c..cb3a38eee8e95f66dc294dce3dc5197050bc630e 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -17537,13 +17537,6 @@ class Visitor42 : public v8::PersistentHandleVisitor { |
explicit Visitor42(v8::Persistent<v8::Object>* object) |
: counter_(0), object_(object) { } |
-#ifdef V8_USE_OLD_STYLE_PERSISTENT_HANDLE_VISITORS |
- virtual void VisitPersistentHandle(Persistent<Value> value, |
- uint16_t class_id) { |
- VisitPersistentHandle(&value, class_id); |
- } |
-#endif |
- |
virtual void VisitPersistentHandle(Persistent<Value>* value, |
uint16_t class_id) { |
if (class_id != 42) return; |