| Index: Source/core/platform/DragImage.cpp
|
| diff --git a/Source/core/platform/DragImage.cpp b/Source/core/platform/DragImage.cpp
|
| index fad4fab3db2c78d4dd5e5fd933f9253b379e4111..22d3f17b0999eb83ebae1a591a5d16eaa9efe9f0 100644
|
| --- a/Source/core/platform/DragImage.cpp
|
| +++ b/Source/core/platform/DragImage.cpp
|
| @@ -163,9 +163,10 @@ PassOwnPtr<DragImage> DragImage::create(const KURL& url, const String& inLabel,
|
| // fill the background
|
| IntSize scaledImageSize = imageSize;
|
| scaledImageSize.scale(deviceScaleFactor);
|
| - OwnPtr<ImageBuffer> buffer(ImageBuffer::create(scaledImageSize, deviceScaleFactor));
|
| + OwnPtr<ImageBuffer> buffer(ImageBuffer::create(scaledImageSize));
|
| if (!buffer)
|
| return nullptr;
|
| + buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor));
|
|
|
| const float DragLabelRadius = 5;
|
| const IntSize radii(DragLabelRadius, DragLabelRadius);
|
|
|