Another int to scalar fix.

git-svn-id: http://skia.googlecode.com/svn/trunk@12138 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2013-11-05 17:27:01 +00:00
parent 770269d962
commit ec1a96c317

View File

@ -78,7 +78,7 @@ public:
looper->addLayerOnTop(info);
}
SkPaint paint;
SkRect rect = SkRect::MakeWH(fWidth, fHeight);
SkRect rect = SkRect::MakeWH(SkIntToScalar(fWidth), SkIntToScalar(fHeight));
canvas->drawRect(rect, paint);
paint.setLooper(looper)->unref();