Index: Source/core/html/HTMLMapElement.cpp |
diff --git a/Source/core/html/HTMLMapElement.cpp b/Source/core/html/HTMLMapElement.cpp |
index bdded68b16b8589766084c0b9c8af886aec055fd..c3123136b1e4b19e82f802b3dd630684dd329bfb 100644 |
--- a/Source/core/html/HTMLMapElement.cpp |
+++ b/Source/core/html/HTMLMapElement.cpp |
@@ -61,7 +61,7 @@ bool HTMLMapElement::mapMouseEvent(LayoutPoint location, const LayoutSize& size, |
{ |
HTMLAreaElement* defaultArea = 0; |
Element* element = this; |
- while ((element = ElementTraversal::next(element, this))) { |
+ while ((element = ElementTraversal::next(*element, this))) { |
if (isHTMLAreaElement(element)) { |
HTMLAreaElement* areaElt = toHTMLAreaElement(element); |
if (areaElt->isDefault()) { |