| Index: src/core/SkDevice.cpp
|
| diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
|
| index 15d0ab6d2ca53a31d86ddff801e457cf6a172720..63a76336482f9f32ddba4c092e476a81a6b64b92 100644
|
| --- a/src/core/SkDevice.cpp
|
| +++ b/src/core/SkDevice.cpp
|
| @@ -14,7 +14,7 @@
|
| #include "SkTextBlob.h"
|
|
|
| SkBaseDevice::SkBaseDevice()
|
| - : fLeakyProperties(SkNEW_ARGS(SkDeviceProperties, (SkDeviceProperties::MakeDefault())))
|
| + : fLeakyProperties(SkNEW_ARGS(SkDeviceProperties, (SkDeviceProperties::kLegacyLCD_InitType)))
|
| #ifdef SK_DEBUG
|
| , fAttachedToCanvas(false)
|
| #endif
|
| @@ -57,7 +57,11 @@ const SkBitmap& SkBaseDevice::accessBitmap(bool changePixels) {
|
| return bitmap;
|
| }
|
|
|
| -SkSurface* SkBaseDevice::newSurface(const SkImageInfo&) { return NULL; }
|
| +void SkBaseDevice::setPixelGeometry(SkPixelGeometry geo) {
|
| + fLeakyProperties->fPixelGeometry = geo;
|
| +}
|
| +
|
| +SkSurface* SkBaseDevice::newSurface(const SkImageInfo&, const SkSurfaceProps&) { return NULL; }
|
|
|
| const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; }
|
|
|
|
|