Index: gm/xfermodes3.cpp |
diff --git a/gm/xfermodes3.cpp b/gm/xfermodes3.cpp |
index 003b771e1fe53abd5aa31037eaf885680318b461..d4659f081094149142092e00ad3cf30174c8722e 100644 |
--- a/gm/xfermodes3.cpp |
+++ b/gm/xfermodes3.cpp |
@@ -37,7 +37,7 @@ protected: |
void onDrawBackground(SkCanvas* canvas) override { |
SkPaint bgPaint; |
- bgPaint.setColor(0xFF70D0E0); |
+ bgPaint.setColor(sk_tool_utils::color_to_565(0xFF70D0E0)); |
canvas->drawPaint(bgPaint); |
} |
@@ -46,7 +46,7 @@ protected: |
SkPaint labelP; |
labelP.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface(&labelP); |
+ sk_tool_utils::set_portable_typeface_always(&labelP); |
static const SkColor kSolidColors[] = { |
SK_ColorTRANSPARENT, |
@@ -181,10 +181,10 @@ private: |
void onOnceBeforeDraw() override { |
static const uint32_t kCheckData[] = { |
- SkPackARGB32(0xFF, 0x40, 0x40, 0x40), |
- SkPackARGB32(0xFF, 0xD0, 0xD0, 0xD0), |
- SkPackARGB32(0xFF, 0xD0, 0xD0, 0xD0), |
- SkPackARGB32(0xFF, 0x40, 0x40, 0x40) |
+ SkPackARGB32(0xFF, 0x42, 0x41, 0x42), |
+ SkPackARGB32(0xFF, 0xD6, 0xD3, 0xD6), |
+ SkPackARGB32(0xFF, 0xD6, 0xD3, 0xD6), |
+ SkPackARGB32(0xFF, 0x42, 0x41, 0x42) |
}; |
SkBitmap bg; |
bg.allocN32Pixels(2, 2, true); |