aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/device/xps
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-02 19:39:51 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-02 19:39:51 +0000
commitace7bd5623354ffabbd224d5b76550bab159c296 (patch)
treeecdfbbd957509e31c8b1313fc6b73d301865630d /include/device/xps
parent1a8ddf0a35bfb6c21a1184f81d2fdd50053acf31 (diff)
Revert r2584 (new test fails in fixed pt builds)
git-svn-id: http://skia.googlecode.com/svn/trunk@2585 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/device/xps')
-rw-r--r--include/device/xps/SkXPSDevice.h11
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: