Make 1.5x text render crisply again.
commit4889c63efa5947edfb1580ecba725ea5a4f50278
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Jul 2014 15:04:43 +0000 (30 15:04 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Jul 2014 15:04:43 +0000 (30 15:04 +0000)
treea8a46246681ad41daf60e97801abc60c55c09528
parentc41f5f4305fcac07b94d7f9100db49dc57edf806
Make 1.5x text render crisply again.

This CL fixes blurry text rendering ay 1.5x DPI. This is being caused by
SnapToPhysicalPixelBoundary() not being called at the right time. It is
now called when the view hierarchy above the WebContentsView changes.

This was previously fixed in r282583 but has broken again.

BUG=388908

Review URL: https://codereview.chromium.org/415773004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286518 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/render_widget_host_view_aura.cc
content/browser/renderer_host/render_widget_host_view_aura.h
content/browser/web_contents/web_contents_view_aura.cc
content/browser/web_contents/web_contents_view_aura_browsertest.cc