CopyNSImage was removed

https://chromium-review.googlesource.com/c/1333876
This commit is contained in:
Jeremy Apthorp 2019-01-09 14:57:32 -08:00
parent 485bbd9ccb
commit e0d277e667

View file

@ -52,7 +52,7 @@ mate::Handle<NativeImage> NativeImage::CreateFromNamedImage(
png_data = bufferFromNSImage(
gfx::Image(gfx::ImageSkiaOperations::CreateHSLShiftedImage(
gfx_image.AsImageSkia(), shift))
.CopyNSImage());
.AsNSImage());
}
return CreateFromPNG(args->isolate(), (char*)[png_data bytes],