Index: sky/engine/core/rendering/EllipsisBox.cpp |
diff --git a/sky/engine/core/rendering/EllipsisBox.cpp b/sky/engine/core/rendering/EllipsisBox.cpp |
index 86e63d1e8d32ce3a911cd0190297c8c281ef1558..47147a96921f84ca2081e19f8d71a0f3f643da15 100644 |
--- a/sky/engine/core/rendering/EllipsisBox.cpp |
+++ b/sky/engine/core/rendering/EllipsisBox.cpp |
@@ -53,7 +53,7 @@ void EllipsisBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, La |
paintSelection(context, boxOrigin, style, font); |
// Select the correct color for painting the text. |
- Color foreground = paintInfo.forceBlackText() ? Color::black : renderer().selectionForegroundColor(); |
+ Color foreground = renderer().selectionForegroundColor(); |
if (foreground != styleTextColor) |
context->setFillColor(foreground); |
} |