summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderSVGResourceSolidColor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderSVGResourceSolidColor.cpp')
-rw-r--r--WebCore/rendering/RenderSVGResourceSolidColor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/rendering/RenderSVGResourceSolidColor.cpp b/WebCore/rendering/RenderSVGResourceSolidColor.cpp
index 51ad658..8228c80 100644
--- a/WebCore/rendering/RenderSVGResourceSolidColor.cpp
+++ b/WebCore/rendering/RenderSVGResourceSolidColor.cpp
@@ -52,7 +52,7 @@ bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyl
ASSERT(resourceMode != ApplyToDefaultMode);
const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0;
- ColorSpace colorSpace = style ? style->colorSpace() : DeviceColorSpace;
+ ColorSpace colorSpace = style ? style->colorSpace() : ColorSpaceDeviceRGB;
if (resourceMode & ApplyToFillMode) {
context->setAlpha(svgStyle ? svgStyle->fillOpacity() : 1.0f);
@@ -90,7 +90,7 @@ void RenderSVGResourceSolidColor::postApplyResource(RenderObject*, GraphicsConte
#if PLATFORM(SKIA) && !PLATFORM(ANDROID)
// FIXME: Move this into the GraphicsContext
// WebKit implicitly expects us to reset the path.
- // For example in fillAndStrokePath() of RenderPath.cpp the path is
+ // For example in fillAndStrokePath() of RenderSVGPath.cpp the path is
// added back to the context after filling. This is because internally it
// calls CGContextFillPath() which closes the path.
context->beginPath();