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

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: Address comments. Created 7 years 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 fe60a3e446e32c87d188cb511c14b25b2547f610..2ee042a690d285fd04eb110d413277b55fa7e443 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 = toWebPluginContainerImpl(widget)->plugin();

Powered by Google App Engine
This is Rietveld 408576698