Index: src/core/SkDeviceImageFilterProxy.h |
diff --git a/src/core/SkDeviceImageFilterProxy.h b/src/core/SkDeviceImageFilterProxy.h |
index 800e42c1f62d0ad743ac6cc583582b43af6adbd0..6c968e945ee41642c9253d65f9741c3d6ef7990e 100644 |
--- a/src/core/SkDeviceImageFilterProxy.h |
+++ b/src/core/SkDeviceImageFilterProxy.h |
@@ -15,8 +15,7 @@ public: |
SkDeviceImageFilterProxy(SkBaseDevice* device) : fDevice(device) {} |
virtual SkBaseDevice* createDevice(int w, int h) SK_OVERRIDE { |
- return fDevice->createCompatibleDevice(SkBitmap::kARGB_8888_Config, |
- w, h, false); |
+ return fDevice->createCompatibleDevice(SkImageInfo::MakeN32Premul(w, h)); |
} |
virtual bool canHandleImageFilter(const SkImageFilter* filter) SK_OVERRIDE { |
return fDevice->canHandleImageFilter(filter); |