Chromium Code Reviews| Index: components/plugins/renderer/webview_plugin.cc |
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
| index 7d8b9fe5bd471f82c5fc974d374580dcb4b9d5d3..8c88c7c6928c9ff5b66134ff3d5465a09ef03976 100644 |
| --- a/components/plugins/renderer/webview_plugin.cc |
| +++ b/components/plugins/renderer/webview_plugin.cc |
| @@ -101,10 +101,8 @@ bool WebViewPlugin::initialize(WebPluginContainer* container) { |
| } |
| void WebViewPlugin::destroy() { |
| - if (delegate_) { |
| - delegate_->WillDestroyPlugin(); |
|
Bernhard Bauer
2013/12/18 15:31:04
How does the delegate get destroyed now?
|
| + if (delegate_) |
| delegate_ = NULL; |
| - } |
| container_ = NULL; |
| base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
| } |