Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Review feedback Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 27fd14f47a416696251aa34584c15ccf0bbf6fdf..a6dae1300c5634338faf2c173743a41c54b6f515 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -47,8 +47,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"
@@ -225,9 +225,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&,

Powered by Google App Engine
This is Rietveld 408576698