Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index dc74459e3e3c26393a42fcea2e17e849ae7bbc0d..4b3183dc5ad1ae153952017c44313d7e4950a9f7 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -517,11 +517,6 @@ public: |
static const char* Name() { return "QuadEdge"; } |
- virtual void getConstantColorComponents(GrColor* color, |
- uint32_t* validFlags) const SK_OVERRIDE { |
- *validFlags = 0; |
- } |
- |
const GrShaderVar& inQuadEdge() const { return fInQuadEdge; } |
virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERRIDE { |
@@ -593,6 +588,11 @@ private: |
return true; |
} |
+ virtual void onGetConstantColorComponents(GrColor* color, uint32_t* validFlags, |
+ bool* isSingleComponent) const SK_OVERRIDE { |
+ *validFlags = 0; |
+ } |
+ |
const GrShaderVar& fInQuadEdge; |
GR_DECLARE_GEOMETRY_PROCESSOR_TEST; |