Reviewers: Yang,
Message:
PTAL
Description:
Restore CHECK_DERIVED_PROPERTY
BUG=
Please review this at https://codereview.chromium.org/491873002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M src/api.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
79cf36c794b793023ca8cd13ae7242879e1bff02..5e91d5890dacff9e692726de0385673e344bdc51
100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -3600,7 +3600,8 @@ Local<Value>
v8::Object::GetRealNamedProperty(Handle<String> key) {
ENTER_V8(isolate);
i::Handle<i::JSObject> self_obj = Utils::OpenHandle(this);
i::Handle<i::String> key_obj = Utils::OpenHandle(*key);
- i::LookupIterator it(self_obj, key_obj,
i::LookupIterator::CHECK_PROPERTY);
+ i::LookupIterator it(self_obj, key_obj,
+ i::LookupIterator::CHECK_DERIVED_PROPERTY);
return GetPropertyByLookup(&it);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.