Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: chrome/renderer/resources/extensions/web_view.js

Issue 23591016: BrowserPlugin/WebView - Move plugin lifetime to DOM (Chromium-side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase CL. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/extensions/web_view.js
diff --git a/chrome/renderer/resources/extensions/web_view.js b/chrome/renderer/resources/extensions/web_view.js
index 47dafb181b216c0be3499d1b91bd6c1ad744e36e..3efe3e60ac197d5638d9458a410c1afd0ae46cc1 100644
--- a/chrome/renderer/resources/extensions/web_view.js
+++ b/chrome/renderer/resources/extensions/web_view.js
@@ -908,8 +908,8 @@ function registerBrowserPluginElement() {
var proto = Object.create(HTMLObjectElement.prototype);
proto.createdCallback = function() {
- this.setAttribute('type', 'application/browser-plugin');
// The <object> node fills in the <webview> container.
+ this.setAttribute('type', 'application/browser-plugin');
this.style.width = '100%';
this.style.height = '100%';
};

Powered by Google App Engine
This is Rietveld 408576698