Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 95c9b4a6e97327378f17bcf0241a3884fe2fa0f5..112f0ae57e1396e14182546b2134643841e436c0 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -139,13 +139,12 @@ TEST(StressJS) { |
Handle<DescriptorArray> new_descriptors = factory->NewDescriptorArray(0, 1); |
- v8::internal::DescriptorArray::WhitenessWitness witness(*new_descriptors); |
map->set_instance_descriptors(*new_descriptors); |
CallbacksDescriptor d(name, |
foreign, |
static_cast<PropertyAttributes>(0)); |
- map->AppendDescriptor(&d, witness); |
+ map->AppendDescriptor(&d); |
// Add the Foo constructor the global object. |
env->Global()->Set(v8::String::NewFromUtf8(CcTest::isolate(), "Foo"), |