Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 709cb4c0be3ece59c86a5873c28d12b8c1f12a37..2f7fcf4d4b5b5110ebf490cc33d14cc0cac15086 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -933,7 +933,7 @@ int SkCanvas::internalSaveLayer(const SkRect* bounds, const SkPaint* paint, Save |
if (paint && paint->getImageFilter()) { |
device = this->getDevice(); |
if (device) { |
- device = device->createCompatibleDevice(info); |
+ device = device->createCompatibleDeviceForImageFilter(info); |
} |
} else { |
device = this->createLayerDevice(info); |