aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_tool_utils.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-01-27 08:38:35 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-27 08:38:35 -0800
commitf77365f43e74dee617db669369a0eb86c6acc550 (patch)
tree3eabbe5004a748de46d410be5afa671e56db8af0 /tools/sk_tool_utils.h
parentfdf7ccc2012dd06305cc3a0fbc788a483fce7b6a (diff)
sk_tool_utils::draw_checkerboard uses SkXfermode::kSrc_Mode to fix valgrind error.
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r--tools/sk_tool_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index faf57f3ba4..48c71e7e74 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -44,7 +44,7 @@ namespace sk_tool_utils {
SkShader* create_checkerboard_shader(SkColor c1, SkColor c2, int size);
/** Draw a checkerboard pattern in the current canvas, restricted to
- the current clip. */
+ the current clip, using SkXfermode::kSrc_Mode. */
void draw_checkerboard(SkCanvas* canvas,
SkColor color1,
SkColor color2,