diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-19 16:32:49 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-19 16:32:49 +0000 |
commit | 417446a1ce6563632df0e71c57a0516b4b5ef6f1 (patch) | |
tree | 5790dd1653eff3694079fde48525d2e4062da92a /samplecode | |
parent | 4ea2878f076cd41da803e6fcdcfb884b18a5b00c (diff) |
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
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleStringArt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |