diff options
Diffstat (limited to 'bench/DeferredCanvasBench.cpp')
-rw-r--r-- | bench/DeferredCanvasBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/DeferredCanvasBench.cpp b/bench/DeferredCanvasBench.cpp index 9e7e723821..e14bb24cf8 100644 --- a/bench/DeferredCanvasBench.cpp +++ b/bench/DeferredCanvasBench.cpp @@ -26,7 +26,7 @@ protected: } virtual void onDraw(SkCanvas* canvas) { - SkDevice *device = canvas->getDevice()->createCompatibleDevice( + SkBaseDevice *device = canvas->getDevice()->createCompatibleDevice( SkBitmap::kARGB_8888_Config, CANVAS_WIDTH, CANVAS_HEIGHT, false); SkAutoTUnref<SkDeferredCanvas> deferredCanvas(SkDeferredCanvas::Create(device)); |