diff options
author | sky <sky@chromium.org> | 2015-06-18 09:24:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-18 16:24:57 +0000 |
commit | b2afc80c28194355a327afc86a3ac0a4bf9ec692 (patch) | |
tree | 0278f3ba67f178be0b8923a7270a6f9ff9fbdd4a /ui/aura/window_tree_host_win.cc | |
parent | c3cbf801393eff10b8fe91e862ff63fd7c59da8c (diff) | |
download | chromium_src-b2afc80c28194355a327afc86a3ac0a4bf9ec692.zip chromium_src-b2afc80c28194355a327afc86a3ac0a4bf9ec692.tar.gz chromium_src-b2afc80c28194355a327afc86a3ac0a4bf9ec692.tar.bz2 |
Plumbs through device scale factor when widget is available
BUG=none
TEST=none
R=sadrul@chromium.org
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1184123008
Cr-Commit-Position: refs/heads/master@{#335059}
Diffstat (limited to 'ui/aura/window_tree_host_win.cc')
-rw-r--r-- | ui/aura/window_tree_host_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc index 3252093..6f879ab 100644 --- a/ui/aura/window_tree_host_win.cc +++ b/ui/aura/window_tree_host_win.cc @@ -151,7 +151,8 @@ void WindowTreeHostWin::OnLostCapture() { } void WindowTreeHostWin::OnAcceleratedWidgetAvailable( - gfx::AcceleratedWidget widget) { + gfx::AcceleratedWidget widget, + float device_pixel_ratio) { widget_ = widget; CreateCompositor(widget); } |