Index: src/core/SkDeviceImageFilterProxy.h |
diff --git a/src/core/SkDeviceImageFilterProxy.h b/src/core/SkDeviceImageFilterProxy.h |
index 0ae686d877df4b81eb0b2c68bfe566a91d96af5c..11a95ff31fff0ed4feaa82e8124392569d89d681 100644 |
--- a/src/core/SkDeviceImageFilterProxy.h |
+++ b/src/core/SkDeviceImageFilterProxy.h |
@@ -18,15 +18,15 @@ |
: fDevice(device) |
, fProps(props.flags(), |
SkBaseDevice::CreateInfo::AdjustGeometry(SkImageInfo(), |
- SkBaseDevice::kImageFilter_Usage, |
+ SkBaseDevice::kPossible_TileUsage, |
props.pixelGeometry())) |
{} |
SkBaseDevice* createDevice(int w, int h) SK_OVERRIDE { |
SkBaseDevice::CreateInfo cinfo(SkImageInfo::MakeN32Premul(w, h), |
- SkBaseDevice::kImageFilter_Usage, |
+ SkBaseDevice::kPossible_TileUsage, |
kUnknown_SkPixelGeometry); |
- return fDevice->onCreateCompatibleDevice(cinfo); |
+ return fDevice->onCreateDevice(cinfo, NULL); |
} |
bool canHandleImageFilter(const SkImageFilter* filter) SK_OVERRIDE { |
return fDevice->canHandleImageFilter(filter); |