mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1086610 - Get color working for ::-moz-tree-progressmeter again. r=mattwoodrow
This commit is contained in:
parent
43b0709b04
commit
e6864f37dd
@ -3794,8 +3794,7 @@ nsTreeBodyFrame::PaintProgressMeter(int32_t aRowIndex,
|
||||
int32_t appUnitsPerDevPixel = PresContext()->AppUnitsPerDevPixel();
|
||||
Rect rect =
|
||||
NSRectToSnappedRect(meterRect, appUnitsPerDevPixel, *drawTarget);
|
||||
ColorPattern color(ToDeviceColor(
|
||||
GetVisitedDependentColor(eCSSProperty_color)));
|
||||
ColorPattern color(ToDeviceColor(meterContext->StyleColor()->mColor));
|
||||
drawTarget->FillRect(rect, color);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user