Commit 726df429 authored by Abhijeet Kandalkar's avatar Abhijeet Kandalkar Committed by Commit Bot

Use new downcast helper for blink::HTMLProgressElement

This CL has goal to use IsA<HTMLProgressElement>(element) in place of
IsHTMLProgressElement(element)

Bug: 891908
Change-Id: Ic141eeff5bddfe0bc897f969e3be3884b0dcd137
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930543
Commit-Queue: Abhijeet | Igalia <abhijeet@igalia.com>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718994}
parent 5c031b96
......@@ -35,7 +35,7 @@ LayoutProgress::LayoutProgress(Element* element)
element->GetDocument().GetTaskRunner(TaskType::kInternalDefault),
this,
&LayoutProgress::AnimationTimerFired) {
DCHECK(IsHTMLProgressElement(element));
DCHECK(IsA<HTMLProgressElement>(element));
}
LayoutProgress::~LayoutProgress() = default;
......
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