Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 1a292fc9e340ee4da0c84954c1b018465f468226..eacb13ea8877ff2aeb8ac9c08810aa1bb80b9695 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2009,7 +2009,7 @@ THREADED_TEST(ExecutableAccessorIsPreservedOnAttributeChange) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
i::LookupResult lookup(i_isolate); |
i::Handle<i::String> name(v8::Utils::OpenHandle(*v8_str("length"))); |
- i::LookupIterator it(a, name, i::LookupIterator::CHECK_PROPERTY); |
+ i::LookupIterator it(a, name, i::LookupIterator::OWN_PROPERTY); |
CHECK(it.HasProperty()); |
CHECK(it.GetAccessors()->IsExecutableAccessorInfo()); |
} |