diff options
author | Andrew Kitchen <andrew.kitchen@mapbox.com> | 2017-11-22 17:07:53 -0800 |
---|---|---|
committer | Andrew Kitchen <andrew.kitchen@mapbox.com> | 2017-11-27 13:24:31 -0800 |
commit | df8b2e34a8d224c67bc261d007e502c577d94330 (patch) | |
tree | 78fd35910fca5ded0ebedcc11e224931792498c7 /platform/darwin/src/image.mm | |
parent | d8bcc943c50b1030f8b090d28b023ff7c40afd9c (diff) | |
download | qtlocation-mapboxgl-df8b2e34a8d224c67bc261d007e502c577d94330.tar.gz |
[darwin, macos, ios] Renames CGImage creation function to imply +1 retain countupstream/akitchen-8570
Diffstat (limited to 'platform/darwin/src/image.mm')
-rw-r--r-- | platform/darwin/src/image.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/image.mm b/platform/darwin/src/image.mm index 57b680fbdb..122682883e 100644 --- a/platform/darwin/src/image.mm +++ b/platform/darwin/src/image.mm @@ -23,7 +23,7 @@ using CGDataProviderHandle = CFHandle<CGDataProviderRef, CGDataProviderRef, CGDa using CGColorSpaceHandle = CFHandle<CGColorSpaceRef, CGColorSpaceRef, CGColorSpaceRelease>; using CGContextHandle = CFHandle<CGContextRef, CGContextRef, CGContextRelease>; -CGImageRef CGImageFromMGLPremultipliedImage(mbgl::PremultipliedImage&& src) { +CGImageRef CGImageCreateWithMGLPremultipliedImage(mbgl::PremultipliedImage&& src) { // We're converting the PremultipliedImage's backing store to a CGDataProvider, and are taking // over ownership of the memory. CGDataProviderHandle provider(CGDataProviderCreateWithData( |