Index: gm/pixelsnap.cpp |
diff --git a/gm/pixelsnap.cpp b/gm/pixelsnap.cpp |
index 5f1a745b14a9d4799181c32f46e77595b5ba0dd8..7791acb0d0cd828be6ce1a0c69be56565fc9461b 100644 |
--- a/gm/pixelsnap.cpp |
+++ b/gm/pixelsnap.cpp |
@@ -37,7 +37,7 @@ protected: |
bgPaint.setShader( |
sk_tool_utils::create_checkerboard_shader( |
sk_tool_utils::color_to_565(0xFFAAAAAA), |
- sk_tool_utils::color_to_565(0xFF777777), 1))->unref(); |
+ sk_tool_utils::color_to_565(0xFF777777), 1)); |
canvas->drawPaint(bgPaint); |
SkString offset; |