From 417446a1ce6563632df0e71c57a0516b4b5ef6f1 Mon Sep 17 00:00:00 2001 From: "jvanverth@google.com" Date: Thu, 19 Sep 2013 16:32:49 +0000 Subject: Type warning fix for: Add string art GM and sample. R=robertphillips@google.com Review URL: https://codereview.chromium.org/24258003 git-svn-id: http://skia.googlecode.com/svn/trunk@11384 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SampleStringArt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samplecode/SampleStringArt.cpp') diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp index c6547ed4fa..353d4cc957 100644 --- a/samplecode/SampleStringArt.cpp +++ b/samplecode/SampleStringArt.cpp @@ -37,7 +37,7 @@ protected: SkPath path; path.moveTo(center); - while (length < (SkScalarHalf(SkMin32(this->width(), this->height())) - 10.f)) + while (length < (SkScalarHalf(SkMinScalar(this->width(), this->height())) - 10.f)) { SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, length*SkScalarSin(step) + center.fY); -- cgit v1.2.3