Index: gm/xfermodeimagefilter.cpp |
diff --git a/gm/xfermodeimagefilter.cpp b/gm/xfermodeimagefilter.cpp |
index 649e69f102e9f30c892ed1988759505f5a2d6660..1ba18865331f943c3b504f228ddc6689d8a0447a 100644 |
--- a/gm/xfermodeimagefilter.cpp |
+++ b/gm/xfermodeimagefilter.cpp |
@@ -35,7 +35,7 @@ protected: |
canvas.clear(0x00000000); |
SkPaint paint; |
paint.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface(&paint); |
+ sk_tool_utils::set_portable_typeface_always(&paint); |
paint.setColor(0xD000D000); |
paint.setTextSize(SkIntToScalar(96)); |
const char* str = "e"; |
@@ -70,7 +70,9 @@ protected: |
fCheckerboard.allocN32Pixels(80, 80); |
SkCanvas checkerboardCanvas(fCheckerboard); |
- sk_tool_utils::draw_checkerboard(&checkerboardCanvas, 0xFFA0A0A0, 0xFF404040, 8); |
+ sk_tool_utils::draw_checkerboard(&checkerboardCanvas, |
+ sk_tool_utils::color_to_565(0xFFA0A0A0), |
+ sk_tool_utils::color_to_565(0xFF404040), 8); |
} |
void onDraw(SkCanvas* canvas) override { |