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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 15666007: Use correct device scale factors in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix botched resolve Created 7 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 | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 62855a0892b32ca4e23d1fa80eefb72f541a76d4..544351b8e4cda137dd9836b0b8e9764749410c37 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -186,7 +186,7 @@ class WebDragSourceAura : public base::MessageLoopForUI::Observer,
rvh = contents_->GetRenderViewHost();
if (rvh) {
gfx::Point screen_loc_in_pixel = ui::EventLocationFromNative(event);
- gfx::Point screen_loc = ConvertPointToDIP(rvh->GetView(),
+ gfx::Point screen_loc = ConvertViewPointToDIP(rvh->GetView(),
screen_loc_in_pixel);
gfx::Point client_loc = screen_loc;
aura::Window* window = rvh->GetView()->GetNativeView();
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698