| Index: src/core/SkDevice.cpp
|
| diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
|
| index 9b37da1fbd21d4dee812a1c43182b05c2a4b557c..4efc68b3a5469e2879fd8346a8d4431dc06c73dd 100644
|
| --- a/src/core/SkDevice.cpp
|
| +++ b/src/core/SkDevice.cpp
|
| @@ -13,7 +13,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
|
| @@ -56,7 +56,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; }
|
|
|
|
|