| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index 55e2802ecbbcb085f8b1adc129d7654ae5a40937..48d0b2103f307a3af8cfbc4e7be609c006892583 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::Handle<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::Handle<v8::Object>::Cast(v8value);
|
|
|