Index: Source/core/html/HTMLMapElement.cpp |
diff --git a/Source/core/html/HTMLMapElement.cpp b/Source/core/html/HTMLMapElement.cpp |
index 263a110fc33bcf37a77cdb074896f7a741860b74..6dd8191062efd7cd5f2ca0cad4278f495e5bc15a 100644 |
--- a/Source/core/html/HTMLMapElement.cpp |
+++ b/Source/core/html/HTMLMapElement.cpp |
@@ -25,6 +25,7 @@ |
#include "core/HTMLNames.h" |
#include "core/dom/Document.h" |
#include "core/dom/ElementTraversal.h" |
+#include "core/dom/NodeListsNodeData.h" |
#include "core/frame/UseCounter.h" |
#include "core/html/HTMLAreaElement.h" |
#include "core/html/HTMLCollection.h" |
@@ -113,7 +114,7 @@ void HTMLMapElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
PassRefPtrWillBeRawPtr<HTMLCollection> HTMLMapElement::areas() |
{ |
- return ensureCachedHTMLCollection(MapAreas); |
+ return ensureCachedCollection<HTMLCollection>(MapAreas); |
} |
Node::InsertionNotificationRequest HTMLMapElement::insertedInto(ContainerNode* insertionPoint) |