aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/pathinterior.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-07-28 10:37:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-28 10:37:53 -0700
commitf597c42c50718d5c39769077040de1768c89bbd3 (patch)
tree8cc51fbb20f2e1c8ed1a20ff8ee6360d62aa4331 /gm/pathinterior.cpp
parent7a0d697ed69610efac1b964896edfc9bd869243c (diff)
make pixelsnap textblob* etc gm portable
TBR=reed@google.com Review URL: https://codereview.chromium.org/1263553002
Diffstat (limited to 'gm/pathinterior.cpp')
-rw-r--r--gm/pathinterior.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/pathinterior.cpp b/gm/pathinterior.cpp
index 24fea6854e..88efb3a7a8 100644
--- a/gm/pathinterior.cpp
+++ b/gm/pathinterior.cpp
@@ -44,7 +44,7 @@ protected:
bool hasInterior = false;
#endif
- paint.setColor(hasInterior ? 0xFF8888FF : SK_ColorGRAY);
+ paint.setColor(sk_tool_utils::color_to_565(hasInterior ? 0xFF8888FF : SK_ColorGRAY));
canvas->drawPath(path, paint);
paint.setStyle(SkPaint::kStroke_Style);
paint.setColor(SK_ColorRED);