| 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..299ca9a4414d8dbfd81a9298bf8e9ed441fca431 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| @@ -198,7 +198,7 @@ HTMLAreaElement* HitTestResult::imageAreaForImage() const
|
| if (!imageElement || !imageElement->layoutObject() || !imageElement->layoutObject()->isBox())
|
| return nullptr;
|
|
|
| - HTMLMapElement* map = imageElement->treeScope().getImageMap(imageElement->fastGetAttribute(usemapAttr));
|
| + HTMLMapElement* map = imageElement->treeScopeOrDocument().getImageMap(imageElement->fastGetAttribute(usemapAttr));
|
| if (!map)
|
| return nullptr;
|
|
|
|
|