Make 1.5x DPI text render crisply.
This CL fixes an issue where the text would render blurrily on 1.5x DPI screens. This was caused by WebContentsView::OnBoundsChanged() not getting called because the origin is no longer changed when switching the active tab as it is always inside the clipping window. This is fixed by calling SnapToPhysicalPixelBoundary() when the clipping window gets a new WebContents set. BUG=388908 Review URL: https://codereview.chromium.org/366543004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282583 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment