diff options
Diffstat (limited to 'WebCore/platform/win/WebCoreTextRenderer.cpp')
-rw-r--r-- | WebCore/platform/win/WebCoreTextRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/win/WebCoreTextRenderer.cpp b/WebCore/platform/win/WebCoreTextRenderer.cpp index f771e00..a32fa4f 100644 --- a/WebCore/platform/win/WebCoreTextRenderer.cpp +++ b/WebCore/platform/win/WebCoreTextRenderer.cpp @@ -49,7 +49,7 @@ static void doDrawTextAtPoint(GraphicsContext& context, const String& text, cons { TextRun run(text.characters(), text.length()); - context.setFillColor(color, DeviceColorSpace); + context.setFillColor(color, ColorSpaceDeviceRGB); if (isOneLeftToRightRun(run)) font.drawText(&context, run, point); else @@ -71,7 +71,7 @@ static void doDrawTextAtPoint(GraphicsContext& context, const String& text, cons IntPoint underlinePoint(point); underlinePoint.move(beforeWidth, 1); - context.setStrokeColor(color, DeviceColorSpace); + context.setStrokeColor(color, ColorSpaceDeviceRGB); context.drawLineForText(underlinePoint, underlinedWidth, false); } } |