diff options
Diffstat (limited to 'include/device/xps')
-rw-r--r-- | include/device/xps/SkXPSDevice.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/device/xps/SkXPSDevice.h b/include/device/xps/SkXPSDevice.h index ed61ced8d0..1fb9220d15 100644 --- a/include/device/xps/SkXPSDevice.h +++ b/include/device/xps/SkXPSDevice.h @@ -71,6 +71,11 @@ public: return kVector_Capability; } + virtual bool readPixels(const SkIRect& srcRect, + SkBitmap* bitmap) SK_OVERRIDE { + return false; + } + protected: virtual void clear(SkColor color) SK_OVERRIDE; @@ -141,12 +146,6 @@ protected: int x, int y, const SkPaint& paint) SK_OVERRIDE; - virtual bool onReadPixels(const SkBitmap* bitmap, - int x, - int y) SK_OVERRIDE { - return false; - } - private: class TypefaceUse : ::SkNoncopyable { public: |