Chromium Code Reviews| Index: Source/WebCore/bindings/v8/NPV8Object.cpp |
| =================================================================== |
| --- Source/WebCore/bindings/v8/NPV8Object.cpp (revision 118020) |
| +++ Source/WebCore/bindings/v8/NPV8Object.cpp (working copy) |
| @@ -336,7 +336,8 @@ |
| if (v8result.IsEmpty()) |
| return false; |
| - convertV8ObjectToNPVariant(v8result, npObject, result); |
| + if (_NPN_IsAlive(npObject)) |
| + convertV8ObjectToNPVariant(v8result, npObject, result); |
| return true; |
| } |