Index: Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp |
=================================================================== |
--- Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp (revision 95812) |
+++ Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp (working copy) |
@@ -66,8 +66,8 @@ |
v8::Handle<v8::Boolean> V8DOMStringMap::namedPropertyDeleter(v8::Local<v8::String> name, const v8::AccessorInfo& info) |
{ |
INC_STATS("DOM.DOMStringMap.NamedPropertyDeleter"); |
- v8::Handle<v8::Value> value = info.Holder()->GetRealNamedPropertyInPrototypeChain(name); |
- if (!value.IsEmpty()) |
+ |
+ if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
return v8::False(); |
if (info.Holder()->HasRealNamedCallbackProperty(name)) |
return v8::False(); |
@@ -82,8 +82,8 @@ |
v8::Handle<v8::Value> V8DOMStringMap::namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) |
{ |
INC_STATS("DOM.DOMStringMap.NamedPropertySetter"); |
- v8::Handle<v8::Value> property = info.Holder()->GetRealNamedPropertyInPrototypeChain(name); |
- if (!property.IsEmpty()) |
+ |
+ if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
return value; |
if (info.Holder()->HasRealNamedCallbackProperty(name)) |
return value; |