| Index: Source/core/platform/DragImage.cpp
|
| diff --git a/Source/core/platform/DragImage.cpp b/Source/core/platform/DragImage.cpp
|
| index 1be65399723fd64c4ca1006f08577f89a0dacc78..e66fc5dd587ad6b8a6a0d63774d4567ba2fe647a 100644
|
| --- a/Source/core/platform/DragImage.cpp
|
| +++ b/Source/core/platform/DragImage.cpp
|
| @@ -148,7 +148,7 @@ DragImageRef createDragImageForLink(const KURL& url, const String& inLabel, Font
|
| // fill the background
|
| IntSize scaledImageSize = imageSize;
|
| scaledImageSize.scale(deviceScaleFactor);
|
| - OwnPtr<ImageBuffer> buffer(ImageBuffer::create(scaledImageSize, deviceScaleFactor, ColorSpaceDeviceRGB));
|
| + OwnPtr<ImageBuffer> buffer(ImageBuffer::create(scaledImageSize, deviceScaleFactor));
|
| if (!buffer)
|
| return 0;
|
|
|
| @@ -156,7 +156,7 @@ DragImageRef createDragImageForLink(const KURL& url, const String& inLabel, Font
|
| const IntSize radii(DragLabelRadius, DragLabelRadius);
|
| IntRect rect(IntPoint(), imageSize);
|
| const Color backgroundColor(140, 140, 140);
|
| - buffer->context()->fillRoundedRect(rect, radii, radii, radii, radii, backgroundColor, ColorSpaceDeviceRGB);
|
| + buffer->context()->fillRoundedRect(rect, radii, radii, radii, radii, backgroundColor);
|
|
|
| // Draw the text
|
| if (drawURLString) {
|
|
|