Index: third_party/WebKit/Source/platform/DragImage.cpp |
diff --git a/third_party/WebKit/Source/platform/DragImage.cpp b/third_party/WebKit/Source/platform/DragImage.cpp |
index e639e03cbcd086133a57d84a32e5cc9809f18205..7b2dad8b0ac680ed1f0ec6d61f3d3078bb5758f7 100644 |
--- a/third_party/WebKit/Source/platform/DragImage.cpp |
+++ b/third_party/WebKit/Source/platform/DragImage.cpp |
@@ -83,7 +83,7 @@ PassRefPtr<SkImage> DragImage::resizeAndOrientImage(PassRefPtr<SkImage> image, I |
if (orientation != DefaultImageOrientation) { |
if (orientation.usesWidthAsHeight()) |
size = size.transposedSize(); |
- transform *= orientation.transformFromDefault(size); |
+ transform *= orientation.transformFromDefault(FloatSize(size)); |
} |
transform.scaleNonUniform(imageScale.width(), imageScale.height()); |