Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLMapElement.cpp
index 3a34c9c..00f7032 100644 (file)
@@ -76,7 +76,7 @@ bool HTMLMapElement::mapMouseEvent(LayoutPoint location, const LayoutSize& size,
 HTMLImageElement* HTMLMapElement::imageElement()
 {
     RefPtr<HTMLCollection> images = document().images();
-    for (unsigned i = 0; Node* curr = images->item(i); i++) {
+    for (unsigned i = 0; Element* curr = images->item(i); i++) {
         if (!curr->hasTagName(imgTag))
             continue;