| Index: Source/core/platform/DragImage.cpp
|
| diff --git a/Source/core/platform/DragImage.cpp b/Source/core/platform/DragImage.cpp
|
| index 3ee5c043c6fa03eba0271ec51d5beea94425b29d..0b521f142ff361aa7e0f3448c5e775c04441e1e7 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);
|
|
|