Index: gm/xfermodeimagefilter.cpp |
diff --git a/gm/xfermodeimagefilter.cpp b/gm/xfermodeimagefilter.cpp |
index f843d40dae3e7287fb8bcf135bc13dfffbffeb5f..446961871751c2b89f0cee7417ea14ab8dfa2d7d 100644 |
--- a/gm/xfermodeimagefilter.cpp |
+++ b/gm/xfermodeimagefilter.cpp |
@@ -30,8 +30,7 @@ protected: |
void make_bitmap() { |
fBitmap.allocN32Pixels(80, 80); |
- SkBitmapDevice device(fBitmap); |
- SkCanvas canvas(&device); |
+ SkCanvas canvas(fBitmap); |
canvas.clear(0x00000000); |
SkPaint paint; |
paint.setAntiAlias(true); |
@@ -43,8 +42,7 @@ protected: |
void make_checkerboard() { |
fCheckerboard.allocN32Pixels(80, 80); |
- SkBitmapDevice device(fCheckerboard); |
- SkCanvas canvas(&device); |
+ SkCanvas canvas(fCheckerboard); |
canvas.clear(0x00000000); |
SkPaint darkPaint; |
darkPaint.setColor(0xFF404040); |