Index: third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp (revision 9792) |
+++ third_party/WebKit/WebCore/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp (working copy) |
@@ -48,11 +48,11 @@ |
HTMLPlugInElement* imp = V8Proxy::DOMWrapperToNode<HTMLPlugInElement>(info.Holder()); |
ScriptInstance scriptInstance = imp->getInstance(); |
if (!scriptInstance) |
- return v8::Local<v8::Object>(); |
+ return deferToInterceptor(); |
v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance()); |
if (instance.IsEmpty()) |
- return v8::Local<v8::Object>(); |
+ return deferToInterceptor(); |
return NPObjectGetNamedProperty(instance, name); |
} |
@@ -63,11 +63,11 @@ |
HTMLPlugInElement* imp = V8Proxy::DOMWrapperToNode<HTMLPlugInElement>(info.Holder()); |
ScriptInstance scriptInstance = imp->getInstance(); |
if (!scriptInstance) |
- return v8::Local<v8::Object>(); |
+ return deferToInterceptor(); |
v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance()); |
if (instance.IsEmpty()) |
- return v8::Local<v8::Object>(); |
+ return deferToInterceptor(); |
return NPObjectSetNamedProperty(instance, name, value); |
} |