aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/strokerect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/strokerect.cpp')
-rw-r--r--gm/strokerect.cpp2
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);