| Index: src/gpu/SkGr.cpp
|
| diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp
|
| index 3d6d4ec8bfccd29911e9cf43a113f68aed46c904..7c0d09b70210d0eec463a2187214c371d4248ee9 100644
|
| --- a/src/gpu/SkGr.cpp
|
| +++ b/src/gpu/SkGr.cpp
|
| @@ -569,9 +569,7 @@ static inline bool skpaint_to_grpaint_impl(GrContext* context,
|
| // The geometry processor will insert the primitive color to start the color chain, so
|
| // the GrPaint color will be ignored.
|
|
|
| - GrColor shaderInput = origColor.opaque().toGrColor();
|
| -
|
| - // SRGBTODO: Preserve 4f on this code path
|
| + GrColor4f shaderInput = origColor.opaque();
|
| shaderFP = GrFragmentProcessor::OverrideInput(shaderFP, shaderInput);
|
| if (primitiveIsSrc) {
|
| shaderFP = GrXfermodeFragmentProcessor::MakeFromDstProcessor(std::move(shaderFP),
|
|
|