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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp

Issue 1552683002: Enable DumpAccessibilityTree tests to use cross-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline last Android test Created 4 years, 11 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/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;
« no previous file with comments | « content/test/data/accessibility/readme.txt ('k') | third_party/WebKit/Source/modules/accessibility/AXScrollView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698