Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 6eaecffedd2c8dd52d17bbba47a3f0c80f126697..15d2da40f236838bec25c171e14830058a8dbe8f 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -67,8 +67,9 @@ sk_sp<SkFlattenable> SkRadialGradient::CreateProc(SkReadBuffer& buffer) { |
} |
const SkPoint center = buffer.readPoint(); |
const SkScalar radius = buffer.readScalar(); |
- return SkGradientShader::MakeRadial(center, radius, desc.fColors, desc.fPos, desc.fCount, |
- desc.fTileMode, desc.fGradFlags, desc.fLocalMatrix); |
+ return SkGradientShader::MakeRadial(center, radius, desc.fColors, std::move(desc.fColorSpace), |
+ desc.fPos, desc.fCount, desc.fTileMode, desc.fGradFlags, |
+ desc.fLocalMatrix); |
} |
void SkRadialGradient::flatten(SkWriteBuffer& buffer) const { |