aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gradients.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-07-29 05:27:47 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-29 05:27:47 -0700
commit125960152dfd7f2aba4c2239131bdf75d9ac2705 (patch)
tree2bf4847f1586d5cb65cc127ba6984a754784d424 /gm/gradients.cpp
parenta52b7a03c61e38cff4236cc83eff97f00e465803 (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.cpp2
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) {