Index: extensions/renderer/resources/web_view_events.js |
diff --git a/extensions/renderer/resources/web_view_events.js b/extensions/renderer/resources/web_view_events.js |
index f02069bd52bbde4b6ac1e40f92ea9ce26f3fdc5e..c73a1f61fd20041d8f92b8226219bc3b3ea76ef7 100644 |
--- a/extensions/renderer/resources/web_view_events.js |
+++ b/extensions/renderer/resources/web_view_events.js |
@@ -184,7 +184,6 @@ function WebViewEvents(webViewInternal, viewInstanceId) { |
// Sets up events. |
WebViewEvents.prototype.setup = function() { |
this.setupFrameNameChangedEvent(); |
- this.setupPluginDestroyedEvent(); |
this.setupWebRequestEvents(); |
this.webViewInternal.setupExperimentalContextMenus(); |
@@ -200,12 +199,6 @@ WebViewEvents.prototype.setupFrameNameChangedEvent = function() { |
}.bind(this), {instanceId: this.viewInstanceId}); |
}; |
-WebViewEvents.prototype.setupPluginDestroyedEvent = function() { |
- PluginDestroyedEvent.addListener(function(e) { |
- this.webViewInternal.onPluginDestroyed(); |
- }.bind(this), {instanceId: this.viewInstanceId}); |
-}; |
- |
WebViewEvents.prototype.setupWebRequestEvents = function() { |
var request = {}; |
var createWebRequestEvent = function(webRequestEvent) { |