Index: src/core/SkBitmapProcShader.h |
diff --git a/src/core/SkBitmapProcShader.h b/src/core/SkBitmapProcShader.h |
index b76a6fe7740aaa479ce3e02adc3f3ab5a5a841a6..ea16d1fa9f48566e602769a9bcd96692fa67177f 100644 |
--- a/src/core/SkBitmapProcShader.h |
+++ b/src/core/SkBitmapProcShader.h |
@@ -25,8 +25,6 @@ public: |
size_t contextSize() const override; |
- static bool CanDo(const SkBitmap&, TileMode tx, TileMode ty); |
- |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBitmapProcShader) |
@@ -40,7 +38,7 @@ public: |
// The context takes ownership of the state. It will call its destructor |
// but will NOT free the memory. |
BitmapProcShaderContext(const SkBitmapProcShader&, const ContextRec&, SkBitmapProcState*); |
- virtual ~BitmapProcShaderContext(); |
+ ~BitmapProcShaderContext() override; |
void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; |
ShadeProc asAShadeProc(void** ctx) override; |
@@ -71,7 +69,7 @@ private: |
// an Sk3DBlitter in SkDraw.cpp |
// Note that some contexts may contain other contexts (e.g. for compose shaders), but we've not |
// yet found a situation where the size below isn't big enough. |
-typedef SkSmallAllocator<3, 1024> SkTBlitterAllocator; |
+typedef SkSmallAllocator<3, 1152> SkTBlitterAllocator; |
// If alloc is non-NULL, it will be used to allocate the returned SkShader, and MUST outlive |
// the SkShader. |