Index: Source/core/html/HTMLMapElement.cpp |
diff --git a/Source/core/html/HTMLMapElement.cpp b/Source/core/html/HTMLMapElement.cpp |
index f3cf6ff49631294fc1e843053e56154f48998ea2..4e45120a24a88e9d4526693efcc56915ecfe924c 100644 |
--- a/Source/core/html/HTMLMapElement.cpp |
+++ b/Source/core/html/HTMLMapElement.cpp |
@@ -72,8 +72,8 @@ bool HTMLMapElement::mapMouseEvent(LayoutPoint location, const LayoutSize& size, |
HTMLImageElement* HTMLMapElement::imageElement() |
{ |
- RefPtr<HTMLCollection> images = document().images(); |
- for (unsigned i = 0; Element* curr = images->item(i); i++) { |
+ RefPtrWillBeRawPtr<HTMLCollection> images = document().images(); |
+ for (unsigned i = 0; Element* curr = images->item(i); ++i) { |
ASSERT(isHTMLImageElement(curr)); |
// The HTMLImageElement's useMap() value includes the '#' symbol at the beginning, |
@@ -114,7 +114,7 @@ void HTMLMapElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
HTMLElement::parseAttribute(name, value); |
} |
-PassRefPtr<HTMLCollection> HTMLMapElement::areas() |
+PassRefPtrWillBeRawPtr<HTMLCollection> HTMLMapElement::areas() |
{ |
return ensureCachedHTMLCollection(MapAreas); |
} |