Backed out 6 changesets (bug 1711648) for causing crashes in FrameBuilder.
CLOSED TREE Backed out changeset 0384828b36cc (bug 1711648) Backed out changeset 15d8e0d681ef (bug 1711648) Backed out changeset b27d8421ebc5 (bug 1711648) Backed out changeset 12da58f4ac4f (bug 1711648) Backed out changeset 1d4c0b685f0e (bug 1711648) Backed out changeset 367235e897e3 (bug 1711648)
This commit is contained in:
@@ -1206,8 +1206,8 @@ void DisplayListBuilder::PushRoundedRect(const wr::LayoutRect& aBounds,
|
||||
// Made the borders thicker than one half the width/height, to avoid
|
||||
// little white dots at the center at some magnifications.
|
||||
wr::BorderSide side = {aColor, wr::BorderStyle::Solid};
|
||||
float h = aBounds.width() * 0.6f;
|
||||
float v = aBounds.height() * 0.6f;
|
||||
float h = aBounds.size.width * 0.6f;
|
||||
float v = aBounds.size.height * 0.6f;
|
||||
wr::LayoutSideOffsets widths = {v, h, v, h};
|
||||
wr::BorderRadius radii = {{h, v}, {h, v}, {h, v}, {h, v}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user