diff options
author | caryclark <caryclark@google.com> | 2015-07-28 10:37:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-28 10:37:53 -0700 |
commit | f597c42c50718d5c39769077040de1768c89bbd3 (patch) | |
tree | 8cc51fbb20f2e1c8ed1a20ff8ee6360d62aa4331 /gm/strokerect.cpp | |
parent | 7a0d697ed69610efac1b964896edfc9bd869243c (diff) |
make pixelsnap textblob* etc gm portable
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1263553002
Diffstat (limited to 'gm/strokerect.cpp')
-rw-r--r-- | gm/strokerect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/strokerect.cpp b/gm/strokerect.cpp index 8854c6b891..c1904953d6 100644 --- a/gm/strokerect.cpp +++ b/gm/strokerect.cpp @@ -17,7 +17,7 @@ static void draw_path(SkCanvas* canvas, const SkPath& path, const SkRect& rect, paint.setAntiAlias(true); paint.setStyle(doFill ? SkPaint::kStrokeAndFill_Style : SkPaint::kStroke_Style); - paint.setColor(SK_ColorGRAY); + paint.setColor(sk_tool_utils::color_to_565(SK_ColorGRAY)); paint.setStrokeWidth(STROKE_WIDTH); paint.setStrokeJoin(join); canvas->drawRect(rect, paint); |