Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index a4e4865e527a89a97a242fd8d4630b9a1dbde19c..0d3479a2c8a6cb13016022c6c9fe68b35ec39ea3 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -133,8 +133,7 @@ TEST(StressJS) { |
Handle<Map> map(function->initial_map()); |
Handle<DescriptorArray> instance_descriptors(map->instance_descriptors()); |
Handle<Foreign> foreign = factory->NewForeign(&kDescriptor); |
- Handle<String> name = |
- factory->NewStringFromAscii(Vector<const char>("get", 3)); |
+ Handle<String> name = factory->NewStringFromStaticAscii("get"); |
ASSERT(instance_descriptors->IsEmpty()); |
Map::EnsureDescriptorSlack(map, 1); |