Index: tests/SpecialImageTest.cpp |
diff --git a/tests/SpecialImageTest.cpp b/tests/SpecialImageTest.cpp |
index 3ae8d33911758a95b0bf933d2fdd818a9469e44d..bc770a0ddc2d6f249ecd606e449a51473ad8e66b 100644 |
--- a/tests/SpecialImageTest.cpp |
+++ b/tests/SpecialImageTest.cpp |
@@ -88,7 +88,7 @@ static void test_image(SkSpecialImage* img, skiatest::Reporter* reporter, |
SkCanvas* canvas = surf->getCanvas(); |
canvas->clear(SK_ColorBLUE); |
- img->draw(canvas, kPad, kPad, nullptr); |
+ img->draw(canvas, SkIntToScalar(kPad), SkIntToScalar(kPad), nullptr); |
SkBitmap bm; |
bm.allocN32Pixels(kFullSize, kFullSize, true); |