Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 7518501aa5e21805ca4d5cfece09c97cda78699b..155b2dc6103383be2d7a618abf42367f397e061f 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -676,9 +676,10 @@ void SkImageFilter::PurgeCache() { |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
-SkBaseDevice* SkImageFilter::DeviceProxy::createDevice(int w, int h) { |
+SkBaseDevice* SkImageFilter::DeviceProxy::createDevice(int w, int h, TileUsage usage) { |
SkBaseDevice::CreateInfo cinfo(SkImageInfo::MakeN32Premul(w, h), |
- SkBaseDevice::kNever_TileUsage, |
+ kPossible_TileUsage == usage ? SkBaseDevice::kPossible_TileUsage |
+ : SkBaseDevice::kNever_TileUsage, |
kUnknown_SkPixelGeometry, |
false, /* preserveLCDText */ |
true /*forImageFilter*/); |