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