| Index: src/core/SkBitmapDevice.cpp
|
| diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
|
| index 4b4f45317f5ee78d68cfde34f88273184b6144a5..5e70b1ab1b5e0bdaf9dfce1bfa19ebf87fbb2673 100644
|
| --- a/src/core/SkBitmapDevice.cpp
|
| +++ b/src/core/SkBitmapDevice.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "SkDraw.h"
|
| #include "SkRasterClip.h"
|
| #include "SkShader.h"
|
| +#include "SkSurface.h"
|
|
|
| #define CHECK_FOR_ANNOTATION(paint) \
|
| do { if (paint.getAnnotation()) { return; } } while (0)
|
| @@ -381,6 +382,10 @@ void SkBitmapDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device,
|
| draw.drawSprite(src, x, y, paint);
|
| }
|
|
|
| +SkSurface* SkBitmapDevice::newSurface(const SkImageInfo& info) {
|
| + return SkSurface::NewRaster(info);
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| bool SkBitmapDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) {
|
|
|