Index: third_party/WebKit/Source/core/page/DragController.cpp |
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp |
index 32e14804af4f94fbf83a698ef05efed060f2af83..bfe577ae7f3d6061fac8070588c0a5890136d7eb 100644 |
--- a/third_party/WebKit/Source/core/page/DragController.cpp |
+++ b/third_party/WebKit/Source/core/page/DragController.cpp |
@@ -798,7 +798,7 @@ static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, f |
if (shouldRespectImageOrientation == RespectImageOrientation && image->isBitmapImage()) |
orientation = toBitmapImage(image)->currentFrameOrientation(); |
- IntSize imageSize = orientation.usesWidthAsHeight() ? image->size().transposedSize() : image->size(); |
+ IntSize imageSize = orientation.usesWidthAsHeight() ? image->defaultConcreteObjectSize().transposedSize() : image->defaultConcreteObjectSize(); |
FloatSize imageScale = DragImage::clampedImageScale(imageSize, imageElementSizeInPixels, maxDragImageSize(deviceScaleFactor)); |