Index: Source/bindings/tests/results/V8TestEventTarget.cpp |
diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp |
index b8859ad349ca943449d2a7351dd9fb9304caaaa1..55863b0ec1bf303fe0b42f506940aba2bc8fa8d5 100644 |
--- a/Source/bindings/tests/results/V8TestEventTarget.cpp |
+++ b/Source/bindings/tests/results/V8TestEventTarget.cpp |
@@ -168,12 +168,10 @@ static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal |
static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
- if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
- return; |
- if (info.Holder()->HasRealNamedCallbackProperty(name)) |
- return; |
if (info.Holder()->HasRealNamedProperty(name)) |
return; |
+ if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
+ return; |
TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); |
AtomicString propertyName = toCoreAtomicString(name); |
@@ -192,12 +190,10 @@ static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::Pr |
static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
- if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
- return; |
- if (info.Holder()->HasRealNamedCallbackProperty(name)) |
- return; |
if (info.Holder()->HasRealNamedProperty(name)) |
return; |
+ if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
+ return; |
TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, propertyName, name); |