Unreviewed build fix
authorsugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Mar 2013 20:41:07 +0000 (20:41 +0000)
committersugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Mar 2013 20:41:07 +0000 (20:41 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@8376 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/perlinnoise.cpp

index 0afdd47..f572371 100644 (file)
@@ -30,8 +30,9 @@ protected:
         canvas->save();
         canvas->clipRect(SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y),
                          SkIntToScalar(fSize.width()), SkIntToScalar(fSize.height())));
-        SkRect r = SkRect::MakeXYWH(x, y, SkIntToScalar(fSize.width()),
-                                          SkIntToScalar(fSize.height()));
+        SkRect r = SkRect::MakeXYWH(SkIntToScalar(x), SkIntToScalar(y),
+                                    SkIntToScalar(fSize.width()),
+                                    SkIntToScalar(fSize.height()));
         canvas->drawRect(r, paint);
         canvas->restore();
     }