From 4ec1ac6a2dc7e43c4179638f3dd801be6f3b386e Mon Sep 17 00:00:00 2001 From: caryclark Date: Tue, 21 Jul 2015 07:42:45 -0700 Subject: make xfermode* portable TBR=reed@google.com Review URL: https://codereview.chromium.org/1243103002 --- gm/xfermodes2.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gm/xfermodes2.cpp') diff --git a/gm/xfermodes2.cpp b/gm/xfermodes2.cpp index 2ceb2fc650..ab57dcf703 100644 --- a/gm/xfermodes2.cpp +++ b/gm/xfermodes2.cpp @@ -34,7 +34,7 @@ protected: SkPaint labelP; labelP.setAntiAlias(true); - sk_tool_utils::set_portable_typeface(&labelP); + sk_tool_utils::set_portable_typeface_always(&labelP); labelP.setTextAlign(SkPaint::kCenter_Align); const int W = 6; @@ -88,10 +88,10 @@ protected: 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); -- cgit v1.2.3