| Index: src/core/SkPicture.cpp
|
| ===================================================================
|
| --- src/core/SkPicture.cpp (revision 10994)
|
| +++ src/core/SkPicture.cpp (working copy)
|
| @@ -11,9 +11,9 @@
|
| #include "SkPicturePlayback.h"
|
| #include "SkPictureRecord.h"
|
|
|
| +#include "SkBitmapDevice.h"
|
| #include "SkCanvas.h"
|
| #include "SkChunkAlloc.h"
|
| -#include "SkDevice.h"
|
| #include "SkPicture.h"
|
| #include "SkRegion.h"
|
| #include "SkStream.h"
|
| @@ -205,7 +205,7 @@
|
|
|
| SkBitmap bm;
|
| bm.setConfig(SkBitmap::kNo_Config, width, height);
|
| - SkAutoTUnref<SkDevice> dev(SkNEW_ARGS(SkDevice, (bm)));
|
| + SkAutoTUnref<SkBaseDevice> dev(SkNEW_ARGS(SkBitmapDevice, (bm)));
|
|
|
| // Must be set before calling createBBoxHierarchy
|
| fWidth = width;
|
|
|