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/fatpathfill.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/fatpathfill.cpp')
-rw-r--r-- | gm/fatpathfill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp index 43e10059c1..711d713852 100644 --- a/gm/fatpathfill.cpp +++ b/gm/fatpathfill.cpp @@ -21,7 +21,7 @@ static SkSurface* new_surface(int width, int height) { static void draw_pixel_centers(SkCanvas* canvas) { SkPaint paint; - paint.setColor(0xFF0088FF); + paint.setColor(sk_tool_utils::color_to_565(0xFF0088FF)); paint.setAntiAlias(true); for (int y = 0; y < SMALL_H; ++y) { |