diff options
Diffstat (limited to 'gm/imagefiltersgraph.cpp')
-rw-r--r-- | gm/imagefiltersgraph.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp index 8885f0d231..bc34e656d0 100644 --- a/gm/imagefiltersgraph.cpp +++ b/gm/imagefiltersgraph.cpp @@ -39,7 +39,9 @@ public: } SkIRect bounds; - if (!this->applyCropRect(ctx, proxy, source, &srcOffset, &bounds, &source)) { + source.getBounds(&bounds); + + if (!this->applyCropRect(&bounds, ctx.ctm())) { return false; } |