diff options
Diffstat (limited to 'chrome/renderer/resources/extensions/web_view.js')
-rw-r--r-- | chrome/renderer/resources/extensions/web_view.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/resources/extensions/web_view.js b/chrome/renderer/resources/extensions/web_view.js index 6df0ae2..0d373ec 100644 --- a/chrome/renderer/resources/extensions/web_view.js +++ b/chrome/renderer/resources/extensions/web_view.js @@ -934,6 +934,11 @@ function registerBrowserPluginElement() { internal.handleBrowserPluginAttributeMutation_(name, newValue); }; + proto.enteredViewCallback = function() { + // Load the plugin immediately. + var unused = this.nonExistentAttribute; + }; + WebViewInternal.BrowserPlugin = DocumentNatives.RegisterElement('browser-plugin', {extends: 'object', prototype: proto}); |