Index: src/gpu/effects/GrDisableColorXP.cpp |
diff --git a/src/gpu/effects/GrDisableColorXP.cpp b/src/gpu/effects/GrDisableColorXP.cpp |
index 776d804fd226b1a896610ddf74981f84a3e915f7..08d7704ceefb06009cf52713d0f0a8996f7fca09 100644 |
--- a/src/gpu/effects/GrDisableColorXP.cpp |
+++ b/src/gpu/effects/GrDisableColorXP.cpp |
@@ -37,13 +37,13 @@ public: |
return GrXferProcessor::kIgnoreColor_OptFlag | GrXferProcessor::kIgnoreCoverage_OptFlag; |
} |
- void getBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; |
- |
private: |
DisableColorXP(); |
void onGetGLProcessorKey(const GrGLCaps& caps, GrProcessorKeyBuilder* b) const override; |
+ void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; |
+ |
bool onIsEqual(const GrXferProcessor& xpBase) const override { |
return true; |
} |
@@ -89,7 +89,7 @@ GrGLXferProcessor* DisableColorXP::createGLInstance() const { |
return SkNEW_ARGS(GLDisableColorXP, (*this)); |
} |
-void DisableColorXP::getBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { |
+void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { |
blendInfo->fWriteColor = false; |
} |