Index: gm/bitmapfilters.cpp |
diff --git a/gm/bitmapfilters.cpp b/gm/bitmapfilters.cpp |
index 11f93c98682b0460e5cb9942f2f1705cdcbd96c8..22a297df9231b0af7bf910a8591bbf3a115604d2 100644 |
--- a/gm/bitmapfilters.cpp |
+++ b/gm/bitmapfilters.cpp |
@@ -53,7 +53,7 @@ |
const int scale = 32; |
paint.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface_always(&paint); |
+ sk_tool_utils::set_portable_typeface(&paint); |
const char* name = sk_tool_utils::colortype_name(bm.colorType()); |
canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8, |
paint); |
@@ -80,7 +80,7 @@ |
SkBitmap fBM8, fBM4444, fBM16, fBM32; |
FilterGM() { |
- this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
+ this->setBGColor(0xFFDDDDDD); |
} |
protected: |