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

Remove unnecessary condition

Image <map> already disallows children via CanHaveChildren().

Bug: None
Change-Id: I156f1f33e5864eb5459ccaf252d5afb34cb1329a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100488Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749677}
parent 9a8f4aae
......@@ -2158,10 +2158,6 @@ bool AXLayoutObject::ShouldUseDOMTraversal() const {
if (!node)
return false;
// <map>: Handled in AddImageMapChildren (img).
if (IsA<HTMLMapElement>(*node))
return false;
// <ruby>: special layout handling
if (IsA<HTMLRubyElement>(*node))
return false;
......
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