Index: src/device/xps/SkXPSDevice.cpp |
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp |
index 2ca799ac370a633d011da3df51c838b9fb60740a..88d118252665403dfe6abbd238004a543a0aa2cb 100644 |
--- a/src/device/xps/SkXPSDevice.cpp |
+++ b/src/device/xps/SkXPSDevice.cpp |
@@ -2251,7 +2251,7 @@ void SkXPSDevice::drawDevice(const SkDraw& d, SkBaseDevice* dev, |
"Could not add layer to current visuals."); |
} |
-SkBaseDevice* SkXPSDevice::onCreateCompatibleDevice(const CreateInfo& info) { |
+SkBaseDevice* SkXPSDevice::onCreateDevice(const CreateInfo& info, const SkPaint*) { |
//Conditional for bug compatibility with PDF device. |
#if 0 |
if (SkBaseDevice::kGeneral_Usage == info.fUsage) { |
@@ -2282,6 +2282,3 @@ SkXPSDevice::SkXPSDevice(IXpsOMObjectFactory* xpsFactory) |
"Could not create canvas for layer."); |
} |
-bool SkXPSDevice::allowImageFilter(const SkImageFilter*) { |
- return false; |
-} |