diff options
Diffstat (limited to 'webkit/glue/plugins/webplugin_delegate_impl_gtk.cc')
-rw-r--r-- | webkit/glue/plugins/webplugin_delegate_impl_gtk.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc index 9f9838b..87d8685 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc +++ b/webkit/glue/plugins/webplugin_delegate_impl_gtk.cc @@ -266,6 +266,9 @@ bool WebPluginDelegateImpl::WindowedCreatePlugin() { // Xembed plugins need a window created for them browser-side. // Do that now. windowed_handle_ = plugin_->CreatePluginContainer(); + if (!windowed_handle_) + return false; + window_.window = reinterpret_cast<void*>(windowed_handle_); if (!window_.ws_info) |