diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-11 17:38:24 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-11 17:38:24 +0000 |
commit | 4abb018ec6ebdcdd397df702bf13aa2592de1946 (patch) | |
tree | 2d77a87072b39202e6330d6e6660c66bf705480c /ui | |
parent | 6722843fe9f705918d1f801e2193394cad613700 (diff) | |
download | chromium_src-4abb018ec6ebdcdd397df702bf13aa2592de1946.zip chromium_src-4abb018ec6ebdcdd397df702bf13aa2592de1946.tar.gz chromium_src-4abb018ec6ebdcdd397df702bf13aa2592de1946.tar.bz2 |
mac: Enable HiDPI for the accelerated path.
WebKit only sends HiDPI IOSurfaces if the screen is "DIP enabled"
(see content/browser/web_contents/web_contents_impl.cc around
line 590, search for IsDIPEnabled()), so set that to true.
BUG=31960
TEST=Poster circle looks good in HiDPI
TBR=sky
Review URL: https://chromiumcodereview.appspot.com/10544086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gfx/screen_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/screen_mac.mm b/ui/gfx/screen_mac.mm index a7957c2..1ef154e 100644 --- a/ui/gfx/screen_mac.mm +++ b/ui/gfx/screen_mac.mm @@ -76,7 +76,7 @@ namespace gfx { // static bool Screen::IsDIPEnabled() { - return false; + return true; } // static |