Index: Source/web/WebHelperPluginImpl.cpp |
diff --git a/Source/web/WebHelperPluginImpl.cpp b/Source/web/WebHelperPluginImpl.cpp |
index 9bbf17968ff4fe052a976d2508af312f476f1194..8d5474a01bb39380e9c85652eabae5885a0971f2 100644 |
--- a/Source/web/WebHelperPluginImpl.cpp |
+++ b/Source/web/WebHelperPluginImpl.cpp |
@@ -184,9 +184,9 @@ WebPlugin* WebHelperPluginImpl::getPlugin() |
ASSERT(objectElements && objectElements->length() == 1); |
if (!objectElements || objectElements->length() < 1) |
return 0; |
- Node* node = objectElements->item(0); |
- ASSERT(node->hasTagName(WebCore::HTMLNames::objectTag)); |
- WebCore::Widget* widget = toHTMLPlugInElement(node)->pluginWidget(); |
+ Element* element = objectElements->item(0); |
+ ASSERT(element->hasTagName(WebCore::HTMLNames::objectTag)); |
+ WebCore::Widget* widget = toHTMLPlugInElement(element)->pluginWidget(); |
if (!widget) |
return 0; |
WebPlugin* plugin = toWebPluginContainerImpl(widget)->plugin(); |