Bug 1323404 - Fixed Stylo renders black text as grey issue
MozReview-Commit-ID: JJktt4ZxIRS
--- a/layout/style/StyleStructContext.h
+++ b/layout/style/StyleStructContext.h
@@ -75,18 +75,18 @@ public:
nscoord DevPixelsToAppUnits(int32_t aPixels)
{
return NSIntPixelsToAppUnits(aPixels, AppUnitsPerDevPixel());
}
typedef mozilla::LookAndFeel LookAndFeel;
nscolor DefaultColor()
{
- SERVO_DEFAULT(LookAndFeel::GetColor(LookAndFeel::eColorID_WindowForeground,
- NS_RGB(0x00, 0x00, 0x00)));
+ // Workaround Bug 1323404
+ SERVO_DEFAULT(NS_RGB(0x00, 0x00, 0x00));
return mPresContext->DefaultColor();
}
mozilla::CounterStyle* BuildCounterStyle(const nsSubstring& aName)
{
SERVO_DEFAULT(mozilla::CounterStyleManager::GetBuiltinStyle(NS_STYLE_LIST_STYLE_DISC));
return mPresContext->CounterStyleManager()->BuildCounterStyle(aName);
}