зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1458993 - Use correct bounds for WR solid color. r=miko
MozReview-Commit-ID: Gp5C4v8qJXI Differential Revision: https://phabricator.services.mozilla.com/D12713 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
64bc12b947
Коммит
86298e2149
|
@ -3581,7 +3581,7 @@ nsDisplaySolidColor::CreateWebRenderCommands(
|
|||
nsDisplayListBuilder* aDisplayListBuilder)
|
||||
{
|
||||
LayoutDeviceRect bounds = LayoutDeviceRect::FromAppUnits(
|
||||
GetPaintRect(), mFrame->PresContext()->AppUnitsPerDevPixel());
|
||||
mBounds, mFrame->PresContext()->AppUnitsPerDevPixel());
|
||||
wr::LayoutRect roundedRect = wr::ToRoundedLayoutRect(bounds);
|
||||
|
||||
aBuilder.PushRect(roundedRect,
|
||||
|
|
Загрузка…
Ссылка в новой задаче