X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=Source%2FWebCore%2Fbindings%2Fv8%2Fcustom%2FV8StorageCustom.cpp;fp=Source%2FWebCore%2Fbindings%2Fv8%2Fcustom%2FV8StorageCustom.cpp;h=a252410005dfff7725aede2ade069d87007047cb;hb=186b2535c234ccc42a8c27998f11be6f718f604f;hp=d0a0d927c8ddec14fc60f1a2c5b51b23c7991878;hpb=1c567be6144228b511852e3cab689fc41b052875;p=vuplus_webkit diff --git a/Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp b/Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp index d0a0d92..a252410 100644 --- a/Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp +++ b/Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp @@ -102,8 +102,7 @@ static v8::Handle storageSetter(v8::Local v8Name, v8::Loc if (name == "length") return v8Value; - v8::Handle prototypeValue = info.Holder()->GetRealNamedPropertyInPrototypeChain(v8Name); - if (!prototypeValue.IsEmpty()) + if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(v8Name).IsEmpty()) return notHandledByInterceptor(); ExceptionCode ec = 0;