Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
index 3dab7c4573f31433e841f96eab9e5acceda75052..c4cfbc141245a1fdcf4e49ff6f077a9436e72e96 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -234,11 +234,8 @@ bool AXLayoutObject::shouldNotifyActiveDescendant() const |
ScrollableArea* AXLayoutObject::getScrollableAreaIfScrollable() const |
{ |
- // FIXME(dmazzoni): the plan is to get rid of AXScrollView, but until |
- // this is done, a WebArea delegates its scrolling to its parent scroll view. |
- // http://crbug.com/484878 |
- if (parentObject() && parentObject()->isAXScrollView()) |
- return parentObject()->getScrollableAreaIfScrollable(); |
+ if (isWebArea()) |
+ return documentFrameView(); |
if (!m_layoutObject || !m_layoutObject->isBox()) |
return 0; |