Commit 75f0db4c authored by Aleks Totic's avatar Aleks Totic Committed by Commit Bot

Nit: less specific cast

Change-Id: I06dc5c8977761e32c468fb43e91739d872f2a6aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900925
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Auto-Submit: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#713510}
parent d9b457ed
......@@ -635,7 +635,7 @@ void NGBoxFragmentPainter::PaintBoxDecorationBackground(
paint_rect.size = box_fragment_.Size();
if (layout_object.IsTableCell()) {
paint_rect.size =
PhysicalSize(To<LayoutTableCell>(layout_object).PixelSnappedSize());
PhysicalSize(ToLayoutBox(layout_object).PixelSnappedSize());
}
background_client = &GetDisplayItemClient();
}
......
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