Index: src/pipe/utils/SamplePipeControllers.cpp |
=================================================================== |
--- src/pipe/utils/SamplePipeControllers.cpp (revision 10994) |
+++ src/pipe/utils/SamplePipeControllers.cpp (working copy) |
@@ -7,8 +7,8 @@ |
#include "SamplePipeControllers.h" |
+#include "SkBitmapDevice.h" |
#include "SkCanvas.h" |
-#include "SkDevice.h" |
#include "SkGPipe.h" |
#include "SkMatrix.h" |
@@ -55,7 +55,7 @@ |
SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect); |
SkASSERT(extracted); |
- SkDevice* device = new SkDevice(fBitmaps[i]); |
+ SkBaseDevice* device = new SkBitmapDevice(fBitmaps[i]); |
SkCanvas* canvas = new SkCanvas(device); |
device->unref(); |
if (initial != NULL) { |