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

Unified Diff: Source/web/WebHelperPluginImpl.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/web/WebHelperPluginImpl.cpp
diff --git a/Source/web/WebHelperPluginImpl.cpp b/Source/web/WebHelperPluginImpl.cpp
index 5f6e7bb45a294f899b88f4a11d1057d6a6061c56..2dbd7b3942c2bff81627dd7ef3fcaa0e0ac4bbae 100644
--- a/Source/web/WebHelperPluginImpl.cpp
+++ b/Source/web/WebHelperPluginImpl.cpp
@@ -193,7 +193,7 @@ WebPlugin* WebHelperPluginImpl::getPlugin()
return 0;
Node* node = objectElements->item(0);
ASSERT(node->hasTagName(WebCore::HTMLNames::objectTag));
- WebCore::Widget* widget = toHTMLPlugInElement(node)->pluginWidget();
+ WebCore::Widget* widget = toHTMLPlugInElement(node)->widget();
if (!widget)
return 0;
WebPlugin* plugin = toPluginContainerImpl(widget)->plugin();

Powered by Google App Engine
This is Rietveld 408576698