Commit f98421ba authored by Aaron Leventhal's avatar Aaron Leventhal Committed by Commit Bot

Remove non-beneficial condition

This condition does not appear to have any use. I cannot find any
reason for it and it only serves to make the code less clear.

Bug: None
Change-Id: If4a0dbca8bdd90ea4b65e7d8e0b55288fd8338da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551773Reviewed-by: default avatarAdam Ettenberger <Adam.Ettenberger@microsoft.com>
Reviewed-by: default avatarAaron Leventhal <aleventhal@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#829670}
parent 179cb262
......@@ -552,9 +552,6 @@ AXObject* AXObjectCacheImpl::GetOrCreate(Node* node) {
return GetOrCreate(node->GetLayoutObject());
}
if (!LayoutTreeBuilderTraversal::Parent(*node))
return nullptr;
if (IsA<HTMLHeadElement>(node))
return nullptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment