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

Unified Diff: Source/core/html/HTMLAppletElement.cpp

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised method for widget lifetime management. 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: Source/core/html/HTMLAppletElement.cpp
diff --git a/Source/core/html/HTMLAppletElement.cpp b/Source/core/html/HTMLAppletElement.cpp
index 8173f2b7d4da3a816d94112aa0d1737c4150869e..a55728ba02a4394f7715933076c811d5a63a666f 100644
--- a/Source/core/html/HTMLAppletElement.cpp
+++ b/Source/core/html/HTMLAppletElement.cpp
@@ -182,7 +182,7 @@ void HTMLAppletElement::updateWidget(PluginCreationOption)
return;
}
document().setContainsPlugins();
- renderer->setWidget(widget);
+ setWidget(widget);
}
bool HTMLAppletElement::canEmbedJava() const

Powered by Google App Engine
This is Rietveld 408576698