aboutsummaryrefslogtreecommitdiffstats
path: root/gm/roundrects.cpp
diff options
context:
space:
mode:
authorMike Klein <mtklein@google.com>2018-08-16 10:17:03 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-08-16 19:13:41 +0000
commitd46dce3de5449a3bc1eb40be3f049408125442ef (patch)
treec1af2f495b4398e6de70a1e2cb7de7b7f986cd31 /gm/roundrects.cpp
parentd221adbfc46723752bcf6e383cb26368a1450e57 (diff)
downloadplatform_external_skqp-d46dce3de5449a3bc1eb40be3f049408125442ef.tar.gz
platform_external_skqp-d46dce3de5449a3bc1eb40be3f049408125442ef.tar.bz2
platform_external_skqp-d46dce3de5449a3bc1eb40be3f049408125442ef.zip
don't adapt any gray colors to 565
Adapting gray to 565 will add a noticeable purple/green tint. I'd rather only the 565 images in Gold were tainted with that. Change-Id: Ib09e92b2f78c6de086345124e9eefeb31bbb5fa8 Reviewed-on: https://skia-review.googlesource.com/147422 Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Mike Klein <mtklein@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/roundrects.cpp')
-rw-r--r--gm/roundrects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/roundrects.cpp b/gm/roundrects.cpp
index 794393e853..5079b70383 100644
--- a/gm/roundrects.cpp
+++ b/gm/roundrects.cpp
@@ -154,7 +154,7 @@ protected:
rectPaint.setAntiAlias(true);
rectPaint.setStyle(SkPaint::kStroke_Style);
rectPaint.setStrokeWidth(SkIntToScalar(0));
- rectPaint.setColor(sk_tool_utils::color_to_565(SK_ColorLTGRAY));
+ rectPaint.setColor(SK_ColorLTGRAY);
int testCount = 0;
for (int i = 0; i < fPaints.count(); ++i) {