Override setDrawFilter() in SkColorSpaceXformCanvas
Fixes cts tests. b/37161109 b/37237678 Bug: skia: Change-Id: I12d78b631b4056a78cbbb2962144e8cc62eb931a Reviewed-on: https://skia-review.googlesource.com/13244 Commit-Queue: Matt Sarett <msarett@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
fe079d41bc
commit
ac796f880f
@ -228,6 +228,13 @@ public:
|
||||
return kNoLayer_SaveLayerStrategy;
|
||||
}
|
||||
|
||||
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
|
||||
SkDrawFilter* setDrawFilter(SkDrawFilter* filter) override {
|
||||
SkCanvas::setDrawFilter(filter);
|
||||
return fTarget->setDrawFilter(filter);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Everything from here on should be uninteresting strictly proxied state-change calls.
|
||||
void willSave() override { fTarget->save(); }
|
||||
void willRestore() override { fTarget->restore(); }
|
||||
|
Loading…
Reference in New Issue
Block a user