From ec1a96c317b8a34a962cecb459325ad424edbc20 Mon Sep 17 00:00:00 2001 From: "scroggo@google.com" Date: Tue, 5 Nov 2013 17:27:01 +0000 Subject: [PATCH] Another int to scalar fix. git-svn-id: http://skia.googlecode.com/svn/trunk@12138 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/BlurRoundRectBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/BlurRoundRectBench.cpp b/bench/BlurRoundRectBench.cpp index f75197eef4..4fe4902255 100644 --- a/bench/BlurRoundRectBench.cpp +++ b/bench/BlurRoundRectBench.cpp @@ -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();