Commit f01a5d86 authored by Abhijeet Kandalkar's avatar Abhijeet Kandalkar Committed by Commit Bot

Use new downcast helper for blink::HTMLFieldSetElement

This CL has goal to use IsA<HTMLFieldSetElement>(element) in place of
IsHTMLFieldSetElement(element)

Bug: 891908
Change-Id: I7aa818e1cf1b75fe1c96c8a8e9fc781a32879a85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930766Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Commit-Queue: Abhijeet | Igalia <abhijeet@igalia.com>
Cr-Commit-Position: refs/heads/master@{#719000}
parent 180bab08
...@@ -573,7 +573,7 @@ void ListedElement::UpdateAncestorDisabledState() const { ...@@ -573,7 +573,7 @@ void ListedElement::UpdateAncestorDisabledState() const {
last_legend_ancestor = ancestor; last_legend_ancestor = ancestor;
continue; continue;
} }
if (!IsHTMLFieldSetElement(*ancestor)) if (!IsA<HTMLFieldSetElement>(*ancestor))
continue; continue;
may_have_field_set_ancestor_ = true; may_have_field_set_ancestor_ = true;
if (ancestor->IsDisabledFormControl()) { if (ancestor->IsDisabledFormControl()) {
......
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