Index: gm/dcshader.cpp |
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp |
index 6cfd00e84002916f2fefeb56a6e4daa2262dbacd..a456c0c24ae1510b0a3c7051abcedc31f4783960 100644 |
--- a/gm/dcshader.cpp |
+++ b/gm/dcshader.cpp |
@@ -110,7 +110,7 @@ |
class DCShaderGM : public GM { |
public: |
DCShaderGM() { |
- this->setBGColor(0xFFAABBCC); |
+ this->setBGColor(sk_tool_utils::color_to_565(0xFFAABBCC)); |
} |
~DCShaderGM() override { |
@@ -210,7 +210,7 @@ |
} |
virtual void setFont(SkPaint* paint) { |
- sk_tool_utils::set_portable_typeface(paint); |
+ sk_tool_utils::set_portable_typeface_always(paint); |
} |
virtual const char* text() const { return "Hello, Skia!"; } |