Index: third_party/WebKit/Source/core/html/HTMLMapElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp |
index 27533f77e295c20bfddcc65fe6ac89140b941243..e555651ac82833cb4d4ab47564188fca723ebc2f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMapElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMapElement.cpp |
@@ -47,13 +47,13 @@ HTMLMapElement::~HTMLMapElement() |
{ |
} |
-HTMLAreaElement* HTMLMapElement::areaForPoint(LayoutPoint location, const LayoutSize& containerSize) |
+HTMLAreaElement* HTMLMapElement::areaForPoint(LayoutPoint location) |
{ |
HTMLAreaElement* defaultArea = nullptr; |
for (HTMLAreaElement& area : Traversal<HTMLAreaElement>::descendantsOf(*this)) { |
if (area.isDefault() && !defaultArea) |
defaultArea = &area; |
- else if (area.pointInArea(location, containerSize)) |
+ else if (area.pointInArea(location)) |
return &area; |
} |