Index: gm/bmpfilterqualityrepeat.cpp |
diff --git a/gm/bmpfilterqualityrepeat.cpp b/gm/bmpfilterqualityrepeat.cpp |
index 5c19f00aa3967a44980d48d39664d75a72ba0a83..dd7b901b003f57d0ad0a61b0c487d556904cb3c6 100644 |
--- a/gm/bmpfilterqualityrepeat.cpp |
+++ b/gm/bmpfilterqualityrepeat.cpp |
@@ -25,11 +25,11 @@ protected: |
colorBmp.allocN32Pixels(20, 20, true); |
colorBmp.eraseColor(0xFFFF0000); |
canvas.drawBitmap(colorBmp, 0, 0); |
- colorBmp.eraseColor(0xFF008200); |
+ colorBmp.eraseColor(sk_tool_utils::color_to_565(0xFF008200)); |
canvas.drawBitmap(colorBmp, 20, 0); |
- colorBmp.eraseColor(0xFFFF9000); |
+ colorBmp.eraseColor(sk_tool_utils::color_to_565(0xFFFF9000)); |
canvas.drawBitmap(colorBmp, 0, 20); |
- colorBmp.eraseColor(0xFF2000FF); |
+ colorBmp.eraseColor(sk_tool_utils::color_to_565(0xFF2000FF)); |
canvas.drawBitmap(colorBmp, 20, 20); |
} |