Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index 9b48697d20ae4e673951dfb351cba7a714782abb..34cb648022ca25593943ba054f7d196ad2c26bc2 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -149,11 +149,7 @@ |
*/ |
virtual void shadeSpan(int x, int y, SkPMColor[], int count) = 0; |
- /** |
- * The const void* ctx is only const because all the implementations are const. |
- * This can be changed to non-const if a new shade proc needs to change the ctx. |
- */ |
- typedef void (*ShadeProc)(const void* ctx, int x, int y, SkPMColor[], int count); |
+ typedef void (*ShadeProc)(void* ctx, int x, int y, SkPMColor[], int count); |
virtual ShadeProc asAShadeProc(void** ctx); |
/** |