Index: src/device/xps/SkXPSDevice.cpp |
=================================================================== |
--- src/device/xps/SkXPSDevice.cpp (revision 8271) |
+++ src/device/xps/SkXPSDevice.cpp (working copy) |
@@ -950,7 +950,7 @@ |
SkASSERT(1 == info.fColorCount); |
SkColor color; |
info.fColors = &color; |
- SkShader::GradientType gradientType = shader->asAGradient(&info); |
+ shader->asAGradient(&info); |
SkAlpha alpha = skPaint.getAlpha(); |
HR(this->createXpsSolidColorBrush(color, alpha, brush)); |
return S_OK; |