Index: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
index 9e822865bf01303de5c8a28489329e3d4887a8bc..8ec188e1f1707adf669f605d3b755964ae30459f 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp |
@@ -61,7 +61,7 @@ void getScriptableObjectProperty(PropertyType property, const v8::PropertyCallba |
// We quit here to allow the binding code to look up general HTMLObjectElement properties |
// if they are not overriden by plugin. |
- if (value->IsUndefined()) |
+ if (value->IsUndefined() && !v8CallBoolean(instance->Has(info.GetIsolate()->GetCurrentContext(), property))) |
return; |
v8SetReturnValue(info, value); |