diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-11 11:32:04 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-18 13:40:17 +0000 |
commit | 31ccca0778db85c159634478b4ec7997f6704860 (patch) | |
tree | 3d33fc3afd9d5ec95541e1bbe074a9cf8da12a0e /chromium/third_party/blink/renderer/core/layout/layout_video.cc | |
parent | 248b70b82a40964d5594eb04feca0fa36716185d (diff) | |
download | qtwebengine-chromium-31ccca0778db85c159634478b4ec7997f6704860.tar.gz |
BASELINE: Update Chromium to 80.0.3987.136
Change-Id: I98e1649aafae85ba3a83e67af00bb27ef301db7b
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/layout_video.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/layout/layout_video.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/layout_video.cc b/chromium/third_party/blink/renderer/core/layout/layout_video.cc index b45e3da976c..5b910056fbe 100644 --- a/chromium/third_party/blink/renderer/core/layout/layout_video.cc +++ b/chromium/third_party/blink/renderer/core/layout/layout_video.cc @@ -135,7 +135,7 @@ void LayoutVideo::UpdateLayout() { } HTMLVideoElement* LayoutVideo::VideoElement() const { - return ToHTMLVideoElement(GetNode()); + return To<HTMLVideoElement>(GetNode()); } void LayoutVideo::UpdateFromElement() { @@ -202,7 +202,7 @@ CompositingReasons LayoutVideo::AdditionalCompositingReasons() const { void LayoutVideo::UpdateAfterLayout() { LayoutBox::UpdateAfterLayout(); // Report violation of unsized-media policy. - if (auto* video_element = ToHTMLVideoElementOrNull(GetNode())) { + if (auto* video_element = DynamicTo<HTMLVideoElement>(GetNode())) { media_element_parser_helpers::ReportUnsizedMediaViolation( this, video_element->IsDefaultIntrinsicSize()); } |