| Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| index 7809d3a20aaded06a0615318fe5340c1ea4b9fc1..965a2164313970c084a47182a31ac1264187695e 100644
|
| --- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| @@ -48,8 +48,8 @@
|
| #include "core/page/Page.h"
|
| #include "core/page/PagePopupClient.h"
|
| #include "core/page/PagePopupSupplement.h"
|
| -#include "modules/accessibility/AXObject.h"
|
| #include "modules/accessibility/AXObjectCacheImpl.h"
|
| +#include "modules/accessibility/AXObjectImpl.h"
|
| #include "platform/EventDispatchForbiddenScope.h"
|
| #include "platform/LayoutTestSupport.h"
|
| #include "platform/ScriptForbiddenScope.h"
|
| @@ -224,9 +224,11 @@ class PagePopupChromeClient final : public EmptyChromeClient {
|
| AXObjectCache::AXNotification notification) override {
|
| WebLocalFrameImpl* frame = WebLocalFrameImpl::FromFrame(
|
| popup_->popup_client_->OwnerElement().GetDocument().GetFrame());
|
| - if (obj && frame && frame->Client())
|
| + if (obj && frame && frame->Client()) {
|
| frame->Client()->PostAccessibilityEvent(
|
| - WebAXObject(obj), static_cast<WebAXEvent>(notification));
|
| + WebAXObject(ToAXObjectImpl(obj)),
|
| + static_cast<WebAXEvent>(notification));
|
| + }
|
| }
|
|
|
| void SetToolTip(LocalFrame&,
|
|
|