diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-17 22:34:32 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-17 22:34:32 +0000 |
commit | e4ff3e6fe8c2b93cce18da9e45bab95283259a35 (patch) | |
tree | 1343b74fc01fee1d021782b0f74748c3f200dd7d /src | |
parent | 158001d6fc2ba5cdb180037560638f8132063cd8 (diff) |
Update SkXPSDevice.cpp too
git-svn-id: http://skia.googlecode.com/svn/trunk@13842 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/device/xps/SkXPSDevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp index e7b5d41fb0..595694cf27 100644 --- a/src/device/xps/SkXPSDevice.cpp +++ b/src/device/xps/SkXPSDevice.cpp @@ -2410,10 +2410,12 @@ void SkXPSDevice::drawDevice(const SkDraw& d, SkBaseDevice* dev, "Could not add layer to current visuals."); } +#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG bool SkXPSDevice::onReadPixels(const SkBitmap& bitmap, int x, int y, SkCanvas::Config8888) { return false; } +#endif SkBaseDevice* SkXPSDevice::onCreateDevice(const SkImageInfo&, Usage) { //Conditional for bug compatibility with PDF device. |