aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/simpleaaclip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/simpleaaclip.cpp')
-rw-r--r--gm/simpleaaclip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/simpleaaclip.cpp b/gm/simpleaaclip.cpp
index c232a2575a..c0aa515507 100644
--- a/gm/simpleaaclip.cpp
+++ b/gm/simpleaaclip.cpp
@@ -64,7 +64,7 @@ protected:
fBasePath.addRoundRect(fBase, SkIntToScalar(5), SkIntToScalar(5));
fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5));
- INHERITED::setBGColor(0xFFDDDDDD);
+ INHERITED::setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
}
void buildRgn(SkAAClip* clip, SkRegion::Op op) {
@@ -156,7 +156,7 @@ protected:
SkPaint textPaint;
textPaint.setAntiAlias(true);
- sk_tool_utils::set_portable_typeface(&textPaint);
+ sk_tool_utils::set_portable_typeface_always(&textPaint);
textPaint.setTextSize(SK_Scalar1*24);
int xOff = 0;