Index: Source/bindings/tests/results/V8TestInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp |
index 76155f4f076e365a2d1a78fe7ecfb8bea9a934cf..021febf9423ab4acb0bdcb316e5784c568563985 100644 |
--- a/Source/bindings/tests/results/V8TestInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestInterface.cpp |
@@ -621,12 +621,10 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
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; |
TestInterface* collection = V8TestInterface::toNative(info.Holder()); |
AtomicString propertyName = toCoreAtomicString(name); |