Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
index b099c8b0037714bcd3463ba62248f777e0b2a660..e2e82f9ed76e182a84314984d44107dee468829e 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -722,10 +722,10 @@ void ChromeClientImpl::setCursorOverridden(bool overridden) |
void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCache::AXNotification notification) |
{ |
// Alert assistive technology about the accessibility object notification. |
- if (!obj || !obj->document()) |
+ if (!obj || !obj->getDocument()) |
return; |
- WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(obj->document()->axObjectCacheOwner().frame()); |
+ WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(obj->getDocument()->axObjectCacheOwner().frame()); |
if (webframe && webframe->client()) |
webframe->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEvent(notification)); |
} |