Index: Source/web/WebHelperPluginImpl.cpp |
diff --git a/Source/web/WebHelperPluginImpl.cpp b/Source/web/WebHelperPluginImpl.cpp |
index 163e40be168dea96db7569f3d38bcbc074e9ca96..bf0823689e9e225bfb70c82a9e66e61459dd5e4f 100644 |
--- a/Source/web/WebHelperPluginImpl.cpp |
+++ b/Source/web/WebHelperPluginImpl.cpp |
@@ -40,7 +40,7 @@ |
#include "WebViewClient.h" |
#include "WebViewImpl.h" |
#include "WebWidgetClient.h" |
-#include "core/dom/NodeList.h" |
+#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLPlugInElement.h" |
#include "core/loader/EmptyClients.h" |
#include "core/loader/FrameLoadRequest.h" |
@@ -180,7 +180,7 @@ WebPlugin* WebHelperPluginImpl::getPlugin() |
{ |
ASSERT(m_page); |
- RefPtr<NodeList> objectElements = m_page->mainFrame()->document()->getElementsByTagName(WebCore::HTMLNames::objectTag.localName()); |
+ RefPtr<HTMLCollection> objectElements = m_page->mainFrame()->document()->getElementsByTagName(WebCore::HTMLNames::objectTag.localName()); |
ASSERT(objectElements && objectElements->length() == 1); |
if (!objectElements || objectElements->length() < 1) |
return 0; |