| Index: gm/shadertext.cpp
|
| diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp
|
| index 599cff3469e7898db57e0392a50b84eeabe457db..6845fa1c5ce41c6ef82da466ab76cfd9789e0a79 100644
|
| --- a/gm/shadertext.cpp
|
| +++ b/gm/shadertext.cpp
|
| @@ -87,7 +87,7 @@
|
| class ShaderTextGM : public GM {
|
| public:
|
| ShaderTextGM() {
|
| - this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
|
| + this->setBGColor(0xFFDDDDDD);
|
| }
|
|
|
| protected:
|
| @@ -144,7 +144,7 @@
|
| SkPaint paint;
|
| paint.setDither(true);
|
| paint.setAntiAlias(true);
|
| - sk_tool_utils::set_portable_typeface_always(&paint);
|
| + sk_tool_utils::set_portable_typeface(&paint);
|
| paint.setTextSize(SkIntToScalar(pointSize));
|
|
|
| canvas->save();
|
|
|