Index: gm/bitmapcopy.cpp |
diff --git a/gm/bitmapcopy.cpp b/gm/bitmapcopy.cpp |
index 32e91e3ceca85e753a5b82f9061dfe420b2e7f0b..e1268b72dddd057f2317a682b15b46a5240847b5 100644 |
--- a/gm/bitmapcopy.cpp |
+++ b/gm/bitmapcopy.cpp |
@@ -48,7 +48,7 @@ public: |
SkBitmap fDst[NUM_CONFIGS]; |
BitmapCopyGM() { |
- this->setBGColor(0xFFDDDDDD); |
+ this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
} |
protected: |
@@ -75,9 +75,9 @@ protected: |
src.copyTo(&fDst[i], gColorTypes[i]); |
} |
- canvas->clear(0xFFDDDDDD); |
+ canvas->clear(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
paint.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface(&paint); |
+ sk_tool_utils::set_portable_typeface_always(&paint); |
SkScalar width = SkIntToScalar(40); |
SkScalar height = SkIntToScalar(40); |