Index: src/pdf/SkPDFDevice.cpp |
=================================================================== |
--- src/pdf/SkPDFDevice.cpp (revision 10711) |
+++ src/pdf/SkPDFDevice.cpp (working copy) |
@@ -672,7 +672,7 @@ |
// TODO(vandebo) change pageSize to SkSize. |
SkPDFDevice::SkPDFDevice(const SkISize& pageSize, const SkISize& contentSize, |
const SkMatrix& initialTransform) |
- : SkDevice(makeContentBitmap(contentSize, &initialTransform)), |
+ : SkRasterDevice(makeContentBitmap(contentSize, &initialTransform)), |
fPageSize(pageSize), |
fContentSize(contentSize), |
fLastContentEntry(NULL), |
@@ -696,7 +696,7 @@ |
SkPDFDevice::SkPDFDevice(const SkISize& layerSize, |
const SkClipStack& existingClipStack, |
const SkRegion& existingClipRegion) |
- : SkDevice(makeContentBitmap(layerSize, NULL)), |
+ : SkRasterDevice(makeContentBitmap(layerSize, NULL)), |
fPageSize(layerSize), |
fContentSize(layerSize), |
fExistingClipStack(existingClipStack), |
@@ -1155,7 +1155,7 @@ |
const SkPaint& paint) { |
if ((device->getDeviceCapabilities() & kVector_Capability) == 0) { |
// If we somehow get a raster device, do what our parent would do. |
- SkDevice::drawDevice(d, device, x, y, paint); |
+ INHERITED::drawDevice(d, device, x, y, paint); |
return; |
} |