Index: gm/bitmapsource.cpp |
diff --git a/gm/bitmapsource.cpp b/gm/bitmapsource.cpp |
index 6d575eb72e437b4edfb72215ead1191e71ff41c4..f40cc15e9074c400b18c6c67f4d0c453999131f4 100644 |
--- a/gm/bitmapsource.cpp |
+++ b/gm/bitmapsource.cpp |
@@ -23,8 +23,7 @@ protected: |
void makeBitmap() { |
fBitmap.allocN32Pixels(100, 100); |
- SkBitmapDevice device(fBitmap); |
- SkCanvas canvas(&device); |
+ SkCanvas canvas(fBitmap); |
canvas.clear(0x00000000); |
SkPaint paint; |
paint.setAntiAlias(true); |