Index: tools/sk_tool_utils.h |
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h |
index dab42e31fdc8cecb335887198039124e923e06ae..1e67afb6d2a5e6f851a041a7cb90e948d995173a 100644 |
--- a/tools/sk_tool_utils.h |
+++ b/tools/sk_tool_utils.h |
@@ -92,7 +92,7 @@ namespace sk_tool_utils { |
SkTypeface* create_font(const char* name, SkTypeface::Style); |
/** Returns a newly created CheckerboardShader. */ |
- SkShader* create_checkerboard_shader(SkColor c1, SkColor c2, int size); |
+ sk_sp<SkShader> create_checkerboard_shader(SkColor c1, SkColor c2, int size); |
/** Draw a checkerboard pattern in the current canvas, restricted to |
the current clip, using SkXfermode::kSrc_Mode. */ |