| Index: skia/ext/vector_platform_device_emf_win.cc
|
| diff --git a/skia/ext/vector_platform_device_emf_win.cc b/skia/ext/vector_platform_device_emf_win.cc
|
| index 19e30668d9519f675ba370821fdfd2c81e1364e1..1271b165e2a2527b11081430aba811a9db048b90 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) {
|
|
|