12016-11-07 Megan Gardner <megan_gardner@apple.com>
2
3 Support wide gamut for Drag Image UI
4 https://bugs.webkit.org/show_bug.cgi?id=164490
5
6 Reviewed by NOBODY (OOPS!).
7
8 Added a new kind of NSImage from Bitmap that does not copy.
9 Fixed a few errors for wide gamut support on mac.
10 Updated a few depricated constants.
11
12 This is volitile UI, which does not currently have a structure to test with.
13
14 * platform/graphics/BitmapImage.h:
15 * platform/graphics/Image.h:
16 (WebCore::Image::snapshotNSImageDirect):
17 * platform/graphics/cg/GraphicsContextCG.cpp:
18 (WebCore::extendedSRGBColorSpaceRef):
19 * platform/graphics/mac/ImageMac.mm:
20 (WebCore::BitmapImage::snapshotNSImageDirect):
21 * platform/mac/DragImageMac.mm:
22 (WebCore::createDragImageFromImage):
23