Index: third_party/WebKit/Source/core/paint/SVGPaintContext.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGPaintContext.cpp b/third_party/WebKit/Source/core/paint/SVGPaintContext.cpp |
index ad3c5adb69cd67877eb3062004714df7c570e760..77997b28073ea77a0829bd1931970a59eba7e979 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGPaintContext.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGPaintContext.cpp |
@@ -193,7 +193,7 @@ bool SVGPaintContext::paintForLayoutObject(const PaintInfo& paintInfo, const Com |
if (paintInfo.isRenderingClipPathAsMaskImage()) { |
if (resourceMode == ApplyToStrokeMode) |
return false; |
- paint.setColor(SVGComputedStyle::initialFillPaintColor().rgb()); |
+ paint.setColor(Color::toDeviceColor(SVGComputedStyle::initialFillPaintColor()).rgb()); |
paint.setShader(nullptr); |
return true; |
} |