| Index: Source/core/layout/LayoutImage.cpp
|
| diff --git a/Source/core/layout/LayoutImage.cpp b/Source/core/layout/LayoutImage.cpp
|
| index 3a3c78870c52ef30f1d5e702a555d0beee5b1501..e05c0c1477343c532f557144b45260cfbe754f40 100644
|
| --- a/Source/core/layout/LayoutImage.cpp
|
| +++ b/Source/core/layout/LayoutImage.cpp
|
| @@ -296,20 +296,6 @@ bool LayoutImage::nodeAtPoint(HitTestResult& result, const HitTestLocation& loca
|
| HitTestResult tempResult(result.hitTestRequest(), result.hitTestLocation());
|
| bool inside = LayoutReplaced::nodeAtPoint(tempResult, locationInContainer, accumulatedOffset, hitTestAction);
|
|
|
| - if (tempResult.innerNode() && node()) {
|
| - if (HTMLMapElement* map = imageMap()) {
|
| - LayoutRect contentBox = contentBoxRect();
|
| - float scaleFactor = 1 / style()->effectiveZoom();
|
| - LayoutPoint location = locationInContainer.point() - toLayoutSize(accumulatedOffset) - locationOffset() - toLayoutSize(contentBox.location());
|
| - location.scale(scaleFactor, scaleFactor);
|
| -
|
| - if (HTMLAreaElement* area = map->areaForPoint(location, contentBox.size())) {
|
| - tempResult.setInnerNode(area);
|
| - tempResult.setURLElement(area);
|
| - }
|
| - }
|
| - }
|
| -
|
| if (!inside && result.hitTestRequest().listBased())
|
| result.append(tempResult);
|
| if (inside)
|
|
|