diff --git a/gm/slug.cpp b/gm/slug.cpp index f04c3f595e..cb2a99af2a 100644 --- a/gm/slug.cpp +++ b/gm/slug.cpp @@ -55,7 +55,7 @@ protected: sk_sp 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 slug = GrSlug::ConvertBlob(canvas, *blob, {10, 10}, p); if (slug == nullptr) {