Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 7949cb3be14cf2c901262a3df8fffdce52e05633..68ced602f62da23dc3094de28326797c5502652b 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -589,6 +589,7 @@ SkDrawFilter* SkCanvas::getDrawFilter() const { |
} |
SkDrawFilter* SkCanvas::setDrawFilter(SkDrawFilter* filter) { |
+ this->checkForDeferredSave(); |
SkRefCnt_SafeAssign(fMCRec->fFilter, filter); |
return filter; |
} |