Index: src/core/SkLiteRecorder.cpp |
diff --git a/src/core/SkLiteRecorder.cpp b/src/core/SkLiteRecorder.cpp |
index 262cdda610793163887c228232c3acad70fac19b..93251f9e627c72cefc32e8e693f7f0a46abca6ea 100644 |
--- a/src/core/SkLiteRecorder.cpp |
+++ b/src/core/SkLiteRecorder.cpp |
@@ -22,6 +22,13 @@ sk_sp<SkSurface> SkLiteRecorder::onNewSurface(const SkImageInfo&, const SkSurfac |
return nullptr; |
} |
+#ifdef SK_SUPPORT_LEGACY_DRAWFILTER |
+SkDrawFilter* SkLiteRecorder::setDrawFilter(SkDrawFilter* df) { |
+ fDL->setDrawFilter(df); |
+ return SkCanvas::setDrawFilter(df); |
+} |
+#endif |
+ |
void SkLiteRecorder::willSave() { fDL->save(); } |
SkCanvas::SaveLayerStrategy SkLiteRecorder::getSaveLayerStrategy(const SaveLayerRec& rec) { |
fDL->saveLayer(rec.fBounds, rec.fPaint, rec.fBackdrop, rec.fSaveLayerFlags); |