Index: Source/core/page/DragController.cpp |
diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp |
index 1c4e2e5d616a7caf17b5e6029227b096b38bd792..0512bfe6395fa719c2fc6eebebda7a35ddd50240 100644 |
--- a/Source/core/page/DragController.cpp |
+++ b/Source/core/page/DragController.cpp |
@@ -804,7 +804,7 @@ static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, c |
OwnPtr<DragImage> dragImage; |
IntPoint origin; |
- InterpolationQuality interpolationQuality = element->computedStyle()->imageRendering() == ImageRenderingPixelated ? InterpolationNone : InterpolationHigh; |
+ InterpolationQuality interpolationQuality = element->ensureComputedStyle()->imageRendering() == ImageRenderingPixelated ? InterpolationNone : InterpolationHigh; |
if (image->size().height() * image->size().width() <= MaxOriginalImageArea |
&& (dragImage = DragImage::create(image, element->layoutObject() ? element->layoutObject()->shouldRespectImageOrientation() : DoNotRespectImageOrientation, 1 /* deviceScaleFactor */, interpolationQuality))) { |
IntSize originalSize = imageRect.size(); |