| Index: webkit/glue/plugins/webplugin_delegate_impl_gtk.cc
|
| diff --git a/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc
|
| index 76736996053daaec758d89500fcccad732b5e442..f4e802962195e78bc2e1980c87b769da11dd1ab8 100644
|
| --- a/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc
|
| +++ b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc
|
| @@ -120,9 +120,8 @@ bool WebPluginDelegateImpl::WindowedCreatePlugin() {
|
| // single byte bool, use an int instead.
|
| int xembed;
|
| NPError err = instance_->NPP_GetValue(NPPVpluginNeedsXEmbed, &xembed);
|
| - DCHECK(err == NPERR_NO_ERROR);
|
| - if (!xembed) {
|
| - NOTIMPLEMENTED() << "Windowed plugin but without xembed.";
|
| + if (err != NPERR_NO_ERROR || !xembed) {
|
| + NOTIMPLEMENTED() << " windowed plugin but without xembed.";
|
| return false;
|
| }
|
|
|
|
|