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

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

Issue 2390783006: [DevTools] Accessibility: Show siblings and children of selected node (Closed)
Patch Set: Ready for a first look Created 4 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
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 2f8dca035ab5ffd22c1beb5d1ff11142b7dd9dea..20509065606af785fc3d9517073447c794d53aa0 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
@@ -1417,8 +1417,9 @@ AXObject* AXLayoutObject::computeParent() const {
}
LayoutObject* parentObj = layoutParentObject();
- if (parentObj)
+ if (parentObj) {
return axObjectCache().getOrCreate(parentObj);
+ }
// A WebArea's parent should be the page popup owner, if any, otherwise null.
if (isWebArea()) {

Powered by Google App Engine
This is Rietveld 408576698