| Index: third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/HitTestResult.cpp b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| index 55fe073747c4225a0a486479843f51e6bec7f6aa..e3f4cd904e68ed164e5245cd03c240ab774cfcc9 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| @@ -203,12 +203,11 @@ HTMLAreaElement* HitTestResult::imageAreaForImage() const
|
| return nullptr;
|
|
|
| LayoutBox* box = toLayoutBox(imageElement->layoutObject());
|
| - LayoutRect contentBox = box->contentBoxRect();
|
| float scaleFactor = 1 / box->style()->effectiveZoom();
|
| LayoutPoint location = localPoint();
|
| location.scale(scaleFactor, scaleFactor);
|
|
|
| - return map->areaForPoint(location, contentBox.size());
|
| + return map->areaForPoint(location);
|
| }
|
|
|
| void HitTestResult::setInnerNode(Node* n)
|
|
|