Index: src/device/xps/SkXPSDevice.cpp |
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp |
index f2658de1047d3149f358aaa159379c959248d415..7b97d3f8b5285335a3b538a8096047ab4093ce91 100644 |
--- a/src/device/xps/SkXPSDevice.cpp |
+++ b/src/device/xps/SkXPSDevice.cpp |
@@ -2418,11 +2418,7 @@ bool SkXPSDevice::onReadPixels(const SkBitmap& bitmap, int x, int y, |
return false; |
} |
-SkBaseDevice* SkXPSDevice::onCreateCompatibleDevice(SkBitmap::Config config, |
- int width, int height, |
- bool isOpaque, |
- Usage usage) { |
- |
+SkBaseDevice* SkXPSDevice::onCreateDevice(const SkImageInfo&, Usage) { |
//Conditional for bug compatibility with PDF device. |
#if 0 |
if (SkBaseDevice::kGeneral_Usage == usage) { |