promote floats to scalars for the fixed-point build
git-svn-id: http://skia.googlecode.com/svn/trunk@3370 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/ClipperTest.cpp b/tests/ClipperTest.cpp
index 607561d..d8949bf 100644
--- a/tests/ClipperTest.cpp
+++ b/tests/ClipperTest.cpp
@@ -21,8 +21,9 @@
paint.setAntiAlias(true);
SkCanvas canvas(bm);
- canvas.clipRect(SkRect::MakeWH(4, 2));
- canvas.drawLine(1.5, 1.5, 3.5, 3.5, paint);
+ canvas.clipRect(SkRect::MakeWH(SkIntToScalar(4), SkIntToScalar(2)));
+ canvas.drawLine(SkFloatToScalar(1.5), SkFloatToScalar(1.5),
+ SkFloatToScalar(3.5), SkFloatToScalar(3.5), paint);
/**
* We had a bug where we misinterpreted the bottom of the clip, and