| Index: gm/roundrects.cpp
|
| diff --git a/gm/roundrects.cpp b/gm/roundrects.cpp
|
| index 5e2813b02c23ee1d5aa7e9e41be626b8abd524f0..b27d0f4309713450914591344d802c08f83d5c91 100644
|
| --- a/gm/roundrects.cpp
|
| +++ b/gm/roundrects.cpp
|
| @@ -133,7 +133,7 @@ protected:
|
| hsv[1] = rand->nextRangeF(0.75f, 1.0f);
|
| hsv[2] = rand->nextRangeF(0.75f, 1.0f);
|
|
|
| - return SkHSVToColor(hsv);
|
| + return sk_tool_utils::color_to_565(SkHSVToColor(hsv));
|
| }
|
|
|
| void onDraw(SkCanvas* canvas) override {
|
| @@ -153,7 +153,7 @@ protected:
|
| rectPaint.setAntiAlias(true);
|
| rectPaint.setStyle(SkPaint::kStroke_Style);
|
| rectPaint.setStrokeWidth(SkIntToScalar(0));
|
| - rectPaint.setColor(SK_ColorLTGRAY);
|
| + rectPaint.setColor(sk_tool_utils::color_to_565(SK_ColorLTGRAY));
|
|
|
| int testCount = 0;
|
| for (int i = 0; i < fPaints.count(); ++i) {
|
|
|