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 aaaa83f6960b2fdf436e6cdf8e47147aaa787e8f..3b559f9366ee8eba8cf1cfd56db82e9e2adfc328 100644 |
--- a/third_party/WebKit/Source/core/page/DragController.cpp |
+++ b/third_party/WebKit/Source/core/page/DragController.cpp |
@@ -899,7 +899,7 @@ bool DragController::startDrag(LocalFrame* src, const DragState& state, const Pl |
IntSize imageSizeInPixels = imageRect.size(); |
// TODO(oshima): Remove this scaling and simply pass imageRect to dragImageForImage |
// once all platforms are migrated to use zoom for dsf. |
- imageSizeInPixels.scale(src->host()->deviceScaleFactor()); |
+ imageSizeInPixels.scale(src->host()->deviceScaleFactorDeprecated()); |
float screenDeviceScaleFactor = src->page()->chromeClient().screenInfo().deviceScaleFactor; |
// Pass the selected image size in DIP becasue dragImageForImage clips the image in DIP. |