Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: tools/sk_tool_utils.h

Issue 877103002: sk_tool_utils::draw_checkerboard uses SkXfermode::kSrc_Mode to fix valgrind error. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/sk_tool_utils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/sk_tool_utils.h
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index faf57f3ba4015f3dc8db1973af072c16205095a5..48c71e7e74315fa521110f80ba51bb2f956192ff 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,
« no previous file with comments | « no previous file | tools/sk_tool_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698