| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index 55e2802ecbbcb085f8b1adc129d7654ae5a40937..f310e0ec752bc4915331a0e3940a1cea5abd068d 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -463,7 +463,7 @@ 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());
|
| - ASSERT(v8value->IsObject());
|
| + ASSERT(!v8value.IsEmpty() && v8value->IsObject());
|
|
|
| return v8::Handle<v8::Object>::Cast(v8value);
|
| }
|
|
|