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

Unified Diff: Source/core/accessibility/AXObjectCache.cpp

Issue 637223005: Accessibility events should be sent to the axObjectCacheOwner's frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObjectCache.cpp
diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp
index 9c34ff70f363434c1414a500a6f7c9b97936cfe9..8a2faf7635c92164ffa9116b3155cc271eea47ff 100644
--- a/Source/core/accessibility/AXObjectCache.cpp
+++ b/Source/core/accessibility/AXObjectCache.cpp
@@ -968,7 +968,7 @@ void AXObjectCache::postPlatformNotification(AXObject* obj, AXNotification notif
if (!obj || !obj->document() || !obj->documentFrameView() || !obj->documentFrameView()->frame().page())
return;
- ChromeClient& client = obj->documentFrameView()->frame().page()->chrome().client();
+ ChromeClient& client = obj->document()->axObjectCacheOwner().page()->chrome().client();
if (notification == AXActiveDescendantChanged
&& obj->document()->focusedElement()
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698