use correct size call for GM
Change-Id: Ic088fd5ac60c9218ce252cbbbf5dedbb3d62e503 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/478060 Commit-Queue: Herb Derby <herb@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Auto-Submit: Herb Derby <herb@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
b755b0157e
commit
fa183572bf
@ -55,7 +55,7 @@ protected:
|
||||
sk_sp<SkTextBlob> blob(this->makeBlob());
|
||||
SkPaint p;
|
||||
p.setAntiAlias(true);
|
||||
canvas->clipIRect(SkIRect::MakeSize(this->onISize()));
|
||||
canvas->clipIRect(SkIRect::MakeSize(this->getISize()));
|
||||
canvas->scale(1.3f, 1.3f);
|
||||
sk_sp<GrSlug> slug = GrSlug::ConvertBlob(canvas, *blob, {10, 10}, p);
|
||||
if (slug == nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user