diff -r 30342f40acbf -r e1bea15f9a39 webengine/osswebengine/JavaScriptCore/bindings/runtime_method.cpp --- a/webengine/osswebengine/JavaScriptCore/bindings/runtime_method.cpp Thu Jul 15 19:53:20 2010 +0300 +++ b/webengine/osswebengine/JavaScriptCore/bindings/runtime_method.cpp Thu Aug 19 10:58:56 2010 +0300 @@ -75,7 +75,7 @@ // If thisObj is the DOM object for a plugin, get the corresponding // runtime object from the DOM object. JSValue* value = thisObj->get(exec, "__apple_runtime_object"); - if (value->isObject(&KJS::RuntimeObjectImp::info)) + if (value && value->isObject(&KJS::RuntimeObjectImp::info)) imp = static_cast(value); }