aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/device/xps/SkXPSDevice.h2
-rw-r--r--src/device/xps/SkXPSDevice.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/device/xps/SkXPSDevice.h b/include/device/xps/SkXPSDevice.h
index e79081c4e8..13ae83492f 100644
--- a/include/device/xps/SkXPSDevice.h
+++ b/include/device/xps/SkXPSDevice.h
@@ -148,7 +148,7 @@ protected:
int y,
SkCanvas::Config8888) SK_OVERRIDE;
- virtual bool allowImageFilter(SkImageFilter*) SK_OVERRIDE;
+ virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE;
private:
class TypefaceUse : ::SkNoncopyable {
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp
index c407e2c0d7..f2658de104 100644
--- a/src/device/xps/SkXPSDevice.cpp
+++ b/src/device/xps/SkXPSDevice.cpp
@@ -2453,6 +2453,6 @@ SkXPSDevice::SkXPSDevice(IXpsOMObjectFactory* xpsFactory)
"Could not create canvas for layer.");
}
-bool SkXPSDevice::allowImageFilter(SkImageFilter*) {
+bool SkXPSDevice::allowImageFilter(const SkImageFilter*) {
return false;
}