| Index: src/core/SkBitmapDevice.cpp
|
| diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
|
| index 0c28feadfc3089955f7c635897a78d7d3f4d9836..cc4155a29f44c6fd76129cf738ffa195efc0cb6b 100644
|
| --- a/src/core/SkBitmapDevice.cpp
|
| +++ b/src/core/SkBitmapDevice.cpp
|
| @@ -111,8 +111,8 @@
|
| fBitmap.lockPixels();
|
| }
|
|
|
| -SkBaseDevice* SkBitmapDevice::onCreateCompatibleDevice(const CreateInfo& cinfo) {
|
| - return SkBitmapDevice::Create(cinfo.fInfo);// &this->getDeviceProperties());
|
| +SkBaseDevice* SkBitmapDevice::onCreateDevice(const SkImageInfo& info, Usage usage) {
|
| + return SkBitmapDevice::Create(info);// &this->getDeviceProperties());
|
| }
|
|
|
| void SkBitmapDevice::lockPixels() {
|
|
|