Index: webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
index 382a975283b7c92b6d1d7757b610b0502f4cdb1f..83544f49392f44ba592c73b533c4154fa67bfe67 100644 |
--- a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
@@ -178,7 +178,7 @@ bool WebPluginDelegateImpl::WindowedReposition( |
} |
void WebPluginDelegateImpl::WindowedSetWindow() { |
- if (!instance_) |
+ if (!instance_.get()) |
return; |
if (!windowed_handle_) { |