Index: src/core/SkBitmapProcShader.h |
diff --git a/src/core/SkBitmapProcShader.h b/src/core/SkBitmapProcShader.h |
index 63985c06c514472a2194ef498ed86c728c9ff1a7..4215b90efbf51e6c4853c4649ff55fe68ac0ca27 100644 |
--- a/src/core/SkBitmapProcShader.h |
+++ b/src/core/SkBitmapProcShader.h |
@@ -20,7 +20,9 @@ |
SkBitmapProcShader(const SkBitmap& src, TileMode tx, TileMode ty, |
const SkMatrix* localMatrix = nullptr); |
+ // overrides from SkShader |
bool isOpaque() const override; |
+ BitmapType asABitmap(SkBitmap*, SkMatrix*, TileMode*) const override; |
size_t contextSize() const override; |
@@ -56,7 +58,6 @@ |
protected: |
void flatten(SkWriteBuffer&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
- bool onIsABitmap(SkBitmap*, SkMatrix*, TileMode*) const override; |
SkBitmap fRawBitmap; // experimental for RLE encoding |
uint8_t fTileModeX, fTileModeY; |