Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index cf644a121f996151ec1b7df7397355217e378923..46505bdaf9ad3b6cec5537675ddfb8ea241ed588 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -28,12 +28,12 @@ |
#include "bindings/v8/ScriptEventListener.h" |
#include "core/dom/Attribute.h" |
#include "core/dom/ElementTraversal.h" |
-#include "core/dom/NodeList.h" |
#include "core/dom/Text.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/events/ThreadLocalEventNames.h" |
#include "core/fetch/ImageResource.h" |
#include "core/html/FormDataList.h" |
+#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLDocument.h" |
#include "core/html/HTMLImageLoader.h" |
#include "core/html/HTMLMetaElement.h" |
@@ -235,7 +235,7 @@ bool HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk() |
|| !equalIgnoringCase(classId(), "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B")) |
return false; |
- RefPtr<NodeList> metaElements = document().getElementsByTagName(HTMLNames::metaTag.localName()); |
+ RefPtr<HTMLCollection> metaElements = document().getElementsByTagName(HTMLNames::metaTag.localName()); |
unsigned length = metaElements->length(); |
for (unsigned i = 0; i < length; ++i) { |
ASSERT(metaElements->item(i)->isHTMLElement()); |