Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 3d5000f5694ae97752cdf01ed70da33aa340aca5..20219a491aae33fd6aedfb6ed123c63107c0c643 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -29,15 +29,15 @@ SkBaseDevice::~SkBaseDevice() { |
} |
SkBaseDevice* SkBaseDevice::createCompatibleDevice(const SkImageInfo& info) { |
- return this->onCreateDevice(info, kGeneral_Usage); |
+ return this->onCreateCompatibleDevice(CreateInfo(info, kGeneral_Usage)); |
} |
SkBaseDevice* SkBaseDevice::createCompatibleDeviceForSaveLayer(const SkImageInfo& info) { |
- return this->onCreateDevice(info, kSaveLayer_Usage); |
+ return this->onCreateCompatibleDevice(CreateInfo(info, kSaveLayer_Usage)); |
} |
SkBaseDevice* SkBaseDevice::createCompatibleDeviceForImageFilter(const SkImageInfo& info) { |
- return this->onCreateDevice(info, kImageFilter_Usage); |
+ return this->onCreateCompatibleDevice(CreateInfo(info, kImageFilter_Usage)); |
} |
SkMetaData& SkBaseDevice::getMetaData() { |