Index: gm/colorwheel.cpp |
diff --git a/gm/colorwheel.cpp b/gm/colorwheel.cpp |
index 6b9c149684d72de0f12f63958e73f85003f9975a..f4542b33262738fb8610a2ee06f3a8017c106cf6 100644 |
--- a/gm/colorwheel.cpp |
+++ b/gm/colorwheel.cpp |
@@ -39,10 +39,10 @@ DEF_SIMPLE_GM(colorwheel, canvas, 256, 256) { |
DEF_SIMPLE_GM(colorwheelnative, canvas, 128, 28) { |
SkPaint paint; |
- sk_tool_utils::set_portable_typeface(&paint, NULL, SkTypeface::kBold); |
+ sk_tool_utils::set_portable_typeface_always(&paint, NULL, SkTypeface::kBold); |
paint.setTextSize(18.0f); |
- canvas->clear(SK_ColorLTGRAY); |
+ canvas->clear(sk_tool_utils::color_to_565(SK_ColorLTGRAY)); |
paint.setColor(SK_ColorRED); |
canvas->drawText("R", 1, 8.0f, 20.0f, paint); |
paint.setColor(SK_ColorGREEN); |