Index: src/core/SkBitmapProcShader.h |
diff --git a/src/core/SkBitmapProcShader.h b/src/core/SkBitmapProcShader.h |
index e32d35e20d9f00a1ec4850fda461dc6a27473c15..0a036d3189ed8b40473815f034b948cac8df1925 100644 |
--- a/src/core/SkBitmapProcShader.h |
+++ b/src/core/SkBitmapProcShader.h |
@@ -23,8 +23,6 @@ public: |
virtual bool isOpaque() const SK_OVERRIDE; |
virtual BitmapType asABitmap(SkBitmap*, SkMatrix*, TileMode*) const SK_OVERRIDE; |
- virtual bool validContext(const ContextRec&, SkMatrix* totalInverse) const SK_OVERRIDE; |
- virtual SkShader::Context* createContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
virtual size_t contextSize() const SK_OVERRIDE; |
static bool CanDo(const SkBitmap&, TileMode tx, TileMode ty); |
@@ -59,13 +57,12 @@ public: |
protected: |
SkBitmapProcShader(SkReadBuffer& ); |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
+ virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
SkBitmap fRawBitmap; // experimental for RLE encoding |
uint8_t fTileModeX, fTileModeY; |
private: |
- bool validInternal(const ContextRec&, SkMatrix* totalInverse, SkBitmapProcState*) const; |
- |
typedef SkShader INHERITED; |
}; |