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