diff options
author | caryclark <caryclark@google.com> | 2015-07-29 05:27:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-29 05:27:47 -0700 |
commit | 125960152dfd7f2aba4c2239131bdf75d9ac2705 (patch) | |
tree | 2bf4847f1586d5cb65cc127ba6984a754784d424 /gm/gradients.cpp | |
parent | a52b7a03c61e38cff4236cc83eff97f00e465803 (diff) |
make tests portable by using 565 compatible colors
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1262703002
Diffstat (limited to 'gm/gradients.cpp')
-rw-r--r-- | gm/gradients.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gradients.cpp b/gm/gradients.cpp index 523a11211a..2c7036d3b9 100644 --- a/gm/gradients.cpp +++ b/gm/gradients.cpp @@ -296,7 +296,7 @@ protected: virtual SkISize onISize() { return SkISize::Make(640, 510); } void drawBG(SkCanvas* canvas) { - canvas->drawColor(0xFFDDDDDD); + canvas->drawColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); } virtual void onDraw(SkCanvas* canvas) { |