diff options
Diffstat (limited to 'skia/ext/vector_platform_device_emf_win.cc')
-rw-r--r-- | skia/ext/vector_platform_device_emf_win.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/skia/ext/vector_platform_device_emf_win.cc b/skia/ext/vector_platform_device_emf_win.cc index 19e3066..1271b16 100644 --- a/skia/ext/vector_platform_device_emf_win.cc +++ b/skia/ext/vector_platform_device_emf_win.cc @@ -695,11 +695,11 @@ void VectorPlatformDeviceEmf::LoadClipRegion() { LoadClippingRegionToDC(hdc_, clip_region_, t); } -SkBaseDevice* VectorPlatformDeviceEmf::onCreateDevice(const SkImageInfo& info, - Usage /*usage*/) { - SkASSERT(info.colorType() == kN32_SkColorType); +SkBaseDevice* VectorPlatformDeviceEmf::onCreateCompatibleDevice( + const CreateInfo& info) { + SkASSERT(info.fInfo.colorType() == kN32_SkColorType); return VectorPlatformDeviceEmf::CreateDevice( - info.width(), info.height(), info.isOpaque(), NULL); + info.fInfo.width(), info.fInfo.height(), info.fInfo.isOpaque(), NULL); } bool VectorPlatformDeviceEmf::CreateBrush(bool use_brush, COLORREF color) { |