Index: gm/imagefilterstransformed.cpp |
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp |
index 9259ce4fceb3573abe69924783abdde6be34ce7c..c6ff5a7931f406ebb55ae076187cc686f302c057 100644 |
--- a/gm/imagefilterstransformed.cpp |
+++ b/gm/imagefilterstransformed.cpp |
@@ -54,10 +54,8 @@ protected: |
} |
void onOnceBeforeDraw() override { |
- fCheckerboard.allocN32Pixels(64, 64); |
- SkCanvas checkerboardCanvas(fCheckerboard); |
- sk_tool_utils::draw_checkerboard(&checkerboardCanvas, 0xFFA0A0A0, 0xFF404040, 8); |
- |
+ fCheckerboard = sk_tool_utils::create_checkerboard_bitmap(64, 64, |
+ 0xFFA0A0A0, 0xFF404040, 8); |
this->makeGradientCircle(64, 64); |
} |