Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(594)

Unified Diff: third_party/WebKit/Source/core/page/DragController.cpp

Issue 1996223003: Mark FrameHost::deviceScaleFactor as deprecated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698