diff options
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r-- | src/core/SkDevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index 69b0f6afa1..ff2f1cf227 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -26,13 +26,13 @@ SK_DEFINE_INST_COUNT(SkBitmapDevice) /////////////////////////////////////////////////////////////////////////////// -SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap) +SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap) : fBitmap(bitmap) { SkASSERT(SkBitmap::kARGB_4444_Config != bitmap.config()); } SkBaseDevice::SkBaseDevice() - : fLeakyProperties(SkDeviceProperties::MakeDefault()) + : fLeakyProperties(SkDeviceProperties::MakeDefault()) #ifdef SK_DEBUG , fAttachedToCanvas(false) #endif @@ -109,7 +109,7 @@ SkBaseDevice* SkBitmapDevice::onCreateCompatibleDevice(SkBitmap::Config config, int width, int height, bool isOpaque, Usage usage) { - return SkNEW_ARGS(SkBitmapDevice,(config, width, height, isOpaque, + return SkNEW_ARGS(SkBitmapDevice,(config, width, height, isOpaque, this->getDeviceProperties())); } |