Index: gm/morphology.cpp |
diff --git a/gm/morphology.cpp b/gm/morphology.cpp |
index 5cfb1c29020595c9d20385aec4c3a209b939476c..a2206b8f522b8e6c9c15335cd0f55428af2c6c5b 100644 |
--- a/gm/morphology.cpp |
+++ b/gm/morphology.cpp |
@@ -27,8 +27,7 @@ protected: |
void make_bitmap() { |
fBitmap.allocN32Pixels(135, 135); |
- SkBitmapDevice device(fBitmap); |
- SkCanvas canvas(&device); |
+ SkCanvas canvas(fBitmap); |
canvas.clear(0x0); |
SkPaint paint; |
paint.setAntiAlias(true); |