Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 2e071acc73d12a3e563d418ef8a86d5301ac07f2..79ba4a486e421aa8eb0832d5479324c325c160ee 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -152,8 +152,8 @@ TEST(StressJS) { |
Handle<AccessorInfo> foreign = TestAccessorInfo(isolate, attrs); |
Map::EnsureDescriptorSlack(map, 1); |
- CallbacksDescriptor d(Handle<Name>(Name::cast(foreign->name())), |
- foreign, attrs); |
+ AccessorConstantDescriptor d(Handle<Name>(Name::cast(foreign->name())), |
+ foreign, attrs); |
map->AppendDescriptor(&d); |
// Add the Foo constructor the global object. |