]> khamidou — GitHub mirrors - electron.git/commit
views: Use the quicker way of return content size
authorCheng Zhao <zcbenz@gmail.com>
Mon, 5 Oct 2015 12:03:43 +0000 (20:03 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 5 Oct 2015 12:07:20 +0000 (20:07 +0800)
commita9b0111c3e312d5797d1d4e5e64447f50e856467
treeabf9c2077107a7ae5efd46ece10569a830b6cdbd
parent279407f7a300e0914b5fdc6b0b6cb0fb3b23a2f8
views: Use the quicker way of return content size

Converting content size to window size on high DPI systems will lose
percise and have 1px offset sometimes.
atom/browser/native_window_views.cc
atom/browser/native_window_views.h