| Index: include/core/SkDevice.h
|
| diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
|
| index c8a1d5eeb9ace75a67953e86e67d7c7450712184..5301d1e3ffca189f285228f1ec3331510a662f7c 100644
|
| --- a/include/core/SkDevice.h
|
| +++ b/include/core/SkDevice.h
|
| @@ -280,6 +280,8 @@ protected:
|
| */
|
| virtual const SkBitmap& onAccessBitmap() = 0;
|
|
|
| + virtual GrContext* context() const { return nullptr; }
|
| +
|
| protected:
|
| virtual sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&);
|
| virtual bool onPeekPixels(SkPixmap*) { return false; }
|
|
|