Index: components/plugins/renderer/webview_plugin.cc |
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
index ccacc064e3df30d9f9dc142b2272920f611ec232..22c7ed2fd9defc47d16c838bd3e63d88acc0059b 100644 |
--- a/components/plugins/renderer/webview_plugin.cc |
+++ b/components/plugins/renderer/webview_plugin.cc |
@@ -107,10 +107,8 @@ bool WebViewPlugin::initialize(WebPluginContainer* container) { |
} |
void WebViewPlugin::destroy() { |
- if (delegate_) { |
- delegate_->WillDestroyPlugin(); |
+ if (delegate_) |
delegate_ = NULL; |
- } |
container_ = NULL; |
base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
} |