Index: src/gpu/GrPaint.cpp |
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp |
index 7bf9b6d568267b6a63bd29f6e077775f93de4f89..d33881c09d8a0d71e78f28b316f3a8ca0bc48160 100644 |
--- a/src/gpu/GrPaint.cpp |
+++ b/src/gpu/GrPaint.cpp |
@@ -51,11 +51,11 @@ void GrPaint::addCoverageTextureProcessor(GrTexture* texture, |
params)); |
} |
-bool GrPaint::isConstantBlendedColor(GrColor* color) const { |
+bool GrPaint::internalIsConstantBlendedColor(GrColor paintColor, GrColor* color) const { |
GrProcOptInfo colorProcInfo; |
colorProcInfo.calcWithInitialValues( |
sk_sp_address_as_pointer_address(fColorFragmentProcessors.begin()), |
- this->numColorFragmentProcessors(), this->getColor(), kRGBA_GrColorComponentFlags, false); |
+ this->numColorFragmentProcessors(), paintColor, kRGBA_GrColorComponentFlags, false); |
GrXPFactory::InvariantBlendedColor blendedColor; |
if (fXPFactory) { |