| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index 4f1a15dcd47535e662d8e6aae5ab679d8a4dc776..8c75887c10144808b1040090e17e86785849afda 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -463,6 +463,8 @@ v8::Local<v8::Object> WebPluginContainerImpl::v8ObjectForElement()
|
| return v8::Local<v8::Object>();
|
|
|
| v8::Local<v8::Value> v8value = toV8(m_element.get(), scriptState->context()->Global(), scriptState->isolate());
|
| + if (v8value.IsEmpty())
|
| + return v8::Local<v8::Object>();
|
| ASSERT(v8value->IsObject());
|
|
|
| return v8::Local<v8::Object>::Cast(v8value);
|
|
|