Update SkXPSDevice.cpp too

git-svn-id: http://skia.googlecode.com/svn/trunk@13842 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2014-03-17 22:34:32 +00:00
parent 158001d6fc
commit e4ff3e6fe8

View File

@ -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.