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 3fcac4cbf9aea257b89ef9b69aea51e7f7709e3d..6b9e0c0b2b5600f66a36dbd3203f52740df81d82 100644 |
--- a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc |
@@ -176,7 +176,7 @@ bool WebPluginDelegateImpl::WindowedReposition( |
} |
void WebPluginDelegateImpl::WindowedSetWindow() { |
- if (!instance_) |
+ if (!instance_.get()) |
return; |
if (!windowed_handle_) { |